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

can't login #3

Open
davidtavarez opened this issue Dec 8, 2011 · 2 comments
Open

can't login #3

davidtavarez opened this issue Dec 8, 2011 · 2 comments

Comments

@davidtavarez
Copy link

from pycavane.pycavane import Pycavane

Cuevana = Pycavane()
Cuevana.login("USER","PASS")
for index, item in enumerate(Cuevana.get_movies()):
print index, item
/**************************************************************************************
C:\Python27\python.exe D:/pyprojects/cuevanaspider/movies.py
Traceback (most recent call last):
File "D:/pyprojects/cuevanaspider/movies.py", line 4, in
Cuevana.login("davidtavarez","c6UYhv9")
File "D:\pyprojects\cuevanaspider\pycavane\pycavane.py", line 110, in login
ret = URL_OPEN('http://www.cuevana.tv/login_get.php', data=data)
File "D:\pyprojects\cuevanaspider\pycavane\util.py", line 35, in deco
raise Exception(error)
Exception: Can't download
error: "HTTP Error 404: Not Found"
args: (<pycavane.util.UrlOpen object at 0x0000000002A280F0>, 'http://www.cuevana.tv/login_get.php'){'data': {'ingresar': True, 'recordarme': 'si', 'password': 'PASS', 'usuario': 'USER'}}

Process finished with exit code 1
**************************************************************************************/

@davidtavarez
Copy link
Author

the new URL for login is: http://www.cuevana.tv/forms/login

replace the line number: 110 of pycavane.py with this

ret = URL_OPEN('http://www.cuevana.tv/forms/login', data=data)

@Roger
Copy link
Owner

Roger commented Dec 8, 2011

Sorry, but pycavane is almost dead, all the effort is now on guicavana. It uses the api of pycavane, but improved.

You could use that api, take a look at Hosts module at https://github.com/j0hn/guicavane/tree/master/guicavane/Hosts

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