We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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 **************************************************************************************/
The text was updated successfully, but these errors were encountered:
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)
Sorry, something went wrong.
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
No branches or pull requests
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
**************************************************************************************/
The text was updated successfully, but these errors were encountered: