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

gives IndexError: list index out of range exception when its running #6

Closed
endikap100 opened this issue Feb 21, 2016 · 2 comments
Closed

Comments

@endikap100
Copy link

Traceback (most recent call last):
File "tpb_client.py", line 29, in
init()
File "tpb_client.py", line 22, in init
t_inst = Tpb(user, password)
File "/home/endika/git/tpb/classes/tpb.py", line 31, in init
self._do_login()
File "/home/endika/git/tpb/classes/tpb.py", line 58, in _do_login
csrf = re.findall('name="csrf" value="(.*?)"', r.text)[0]
IndexError: list index out of range

@outime
Copy link
Owner

outime commented Feb 21, 2016

Apparently they're serving different content for the mobile website i.e. they've disabled it. That's bad because tpb relied on that website but now it's gone. Take a look at 20up or wait until Tuenti decides to allow users download all the photos at once.

@outime outime closed this as completed Feb 21, 2016
@endikap100
Copy link
Author

ok thanks

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