Skip to content
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

Captcha and DOM issues with new account page #59

Open
juzim opened this issue Mar 6, 2017 · 3 comments
Open

Captcha and DOM issues with new account page #59

juzim opened this issue Mar 6, 2017 · 3 comments

Comments

@juzim
Copy link
Contributor

juzim commented Mar 6, 2017

Packtpub apparently worked on their account page and it broke a few things (sometimes it works so it might be a A/B test). I'm not sure if I can find the time to fix everything right now.

@niqdev
Copy link
Owner

niqdev commented Mar 6, 2017

I'll keep one eye as well on this, thanks

@niqdev
Copy link
Owner

niqdev commented Mar 7, 2017

Actually there is this error:

So sorry! Free Learning is temporarily unavailable.
Our main server has fallen over and our backup server can't quite take the strain.
We've had to (temporarily) take down Free Learning until everything's fixed.
We'll have it back up as soon as possible!
Check on @packtpub for updates.

https://twitter.com/PacktPub/status/838780539020722176

@niqdev
Copy link
Owner

niqdev commented Mar 8, 2017

@juzim seems to work now, can you verify if the credential problem was related to the out of service?
By the way the newsletter is not working now

[*] fetching url... 200 | https://www.packtpub.com/packt/free-ebook/what-you-need-know-about-python
[-] <type 'exceptions.IndexError'> list index out of range | spider.py@125
Traceback (most recent call last):
  File "script/spider.py", line 125, in main
    packtpub.runNewsletter(currentNewsletterUrl)
  File "/home/ubuntu/Projects/github/packtpub-crawler/script/packtpub.py", line 169, in runNewsletter
    self.__parseNewsletterBookInfo(soup)
  File "/home/ubuntu/Projects/github/packtpub-crawler/script/packtpub.py", line 101, in __parseNewsletterBookInfo
    urlWithTitle = div_target.select('div.promo-landing-book-picture a')[0]['href']
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants