Giter Club home page Giter Club logo

Comments (4)

dmitriiweb avatar dmitriiweb commented on June 6, 2024

Please update the package

from extract-emails.

FormationGrowthHacking avatar FormationGrowthHacking commented on June 6, 2024

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.

dmitriiweb avatar dmitriiweb commented on June 6, 2024

Please update one more time

from extract-emails.

FormationGrowthHacking avatar FormationGrowthHacking commented on June 6, 2024

Thanks. I don't get the error msg anymore.

from extract-emails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.