-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hum #1
Comments
File "C:\DragonCave-egg-catcher-master\catcher.py", line 117, in |
Hello. I am not maintaining this project anymore, so you're free to fork it
and make your own fixes. Regardless, I'll take a guess and say this problem
is happening because there has been a change in the site's structure, which
inevitably causes malfunctions. I am not sure if those changes are
permanent or temporary (due to an event), but it shouldn't hard to fix it
if you understand web scraping in this library.
In the code the error is happening because no div of the class "eggs" can
be found, which at my time was the div that would hold all the 3 eggs in
the page. Check if it has changed the name, or if it's something else.
Best of luck,
João Dowsley
Em sex., 21 de mai. de 2021 às 09:41, reverside85 ***@***.***>
escreveu:
… File "C:\DragonCave-egg-catcher-master\catcher.py", line 117, in
cave = (soup.find('div',class_='eggs')).findAll('div')
AttributeError: 'NoneType' object has no attribute 'findAll'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFLBTFJUVYAXYMMRY4QJLTDTOZIHNANCNFSM45JCPNNA>
.
|
Thank you ~ |
C:\DragonCave-egg-catcher-master>python catcher.py start
C:\DragonCave-egg-catcher-master\venv\lib\site-packages\robobrowser\browser.py:38: GuessedAtParserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html.parser"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 38 of the file C:\DragonCave-egg-catcher-master\venv\lib\site-packages\robobrowser\browser.py. To get rid of this warning, pass the additional argument 'features="html.parser"' to the BeautifulSoup constructor.
how can i fix it?
The text was updated successfully, but these errors were encountered: