Comments (4)
Please update the package
from extract-emails.
Thanks. I did:
Successfully installed extract-emails-3.0.3
But I get these errors:
Traceback (most recent call last):
File "C:/Users/Nino/PycharmProjects/EmailVerif/github_extract-email/extract_emails/myextrator.py", line 4, in
em = ExtractEmails("http://www.formationgrowthhacking.com/", depth=None, print_log=False, ssl_verify=True, user_agent=None, request_delay=0.0)
File "C:\Users\Nino\PycharmProjects\EmailVerif\github_extract-email\extract_emails\extract_emails.py", line 30, in init
self.extract_emails(url)
File "C:\Users\Nino\PycharmProjects\EmailVerif\github_extract-email\extract_emails\extract_emails.py", line 43, in extract_emails
self.extract_emails(new_url)
File "C:\Users\Nino\PycharmProjects\EmailVerif\github_extract-email\extract_emails\extract_emails.py", line 43, in extract_emails
self.extract_emails(new_url)
File "C:\Users\Nino\PycharmProjects\EmailVerif\github_extract-email\extract_emails\extract_emails.py", line 43, in extract_emails
self.extract_emails(new_url)
[Previous line repeated 30 more times]
File "C:\Users\Nino\PycharmProjects\EmailVerif\github_extract-email\extract_emails\extract_emails.py", line 36, in extract_emails
self.get_all_links(r.text)
File "C:\Users\Nino\PycharmProjects\EmailVerif\github_extract-email\extract_emails\extract_emails.py", line 59, in get_all_links
tree = html.fromstring(page)
File "C:\Users\Nino\PycharmProjects\EmailVerif\venv\lib\site-packages\lxml\html_init_.py", line 875, in fromstring
doc = document_fromstring(html, parser=parser, base_url=base_url, **kw)
File "C:\Users\Nino\PycharmProjects\EmailVerif\venv\lib\site-packages\lxml\html_init_.py", line 761, in document_fromstring
value = etree.fromstring(html, parser, **kw)
File "src\lxml\etree.pyx", line 3234, in lxml.etree.fromstring
File "src\lxml\parser.pxi", line 1871, in lxml.etree._parseMemoryDocument
ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.
I verified if new version was updated correctly in my pycharm:
http://prntscr.com/ou4srz
And it did.
from extract-emails.
Please update one more time
from extract-emails.
Thanks. I don't get the error msg anymore.
from extract-emails.
Related Issues (20)
- Extract social media accounts HOT 6
- Quick Start
- Advanced Usage
- CONTRIBUTING.md
- Changelog
- httpx
- playwright
- Integration testing
- Setup.py install fail HOT 1
- from extract_emails import DefaultFilterAndEmailFactory as Factory HOT 5
- longer time without response HOT 9
- need more info on how to use HOT 1
- how can I extract emails from the list of website? HOT 4
- Example code doesnt work HOT 1
- save as csv issue HOT 1
- Error when running code
- FileNotFoundError: [Errno 2] No such file or directory: HOT 4
- Not picking up .co.uk email addresses correctly HOT 3
- Depth scan HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extract-emails.