rdtorres / gbDownloader

CLI program used to download videos from GL0B0 tv website
GNU General Public License v2.0
2 stars 0 forks source link

ERROR:FakePlugin:Request error: [400] Player not recognized #3

Open santiagoluz opened 10 years ago

santiagoluz commented 10 years ago

Hello Rafael, I've tried to find any other way to contact you, but I've only found this. I'm trying to run gbDownloader, but it is returning error when I try to download a video:

pi@raspbmc:~/gbDownloader-master$ ./globoDownloader.sh -dv 3297823
********************************************
**    run on Sat Apr 26 22:14:47 BRT 2014
********************************************
** running job globoDownloader.sh on Sat Apr 26 22:14:48 BRT 2014 running = 0
INFO:FakePlugin:Using Properties file: globoDownloader.ini
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.globovideos.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297823/playlist HTTP/1.1" 200 868
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.globovideos.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297776/playlist HTTP/1.1" 200 666
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.globovideos.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297585/playlist HTTP/1.1" 200 667
DEBUG:FakePlugin:resolving video: 3297776
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): security.video.globo.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297776/hash?resource_id=5356c13add238148fa001985&version=2.5.8&player=flash HTTP/1.1" 200 None
DEBUG:FakePlugin:resource ids: 5356c13add238148fa001985
DEBUG:FakePlugin:return: {"http_status_code":400,"message":"Player not recognized","code":"PNR"}
ERROR:FakePlugin:Request error: [400] Player not recognized
Traceback (most recent call last):
  File "./globoDownloader.py", line 202, in <module>
    gd.downloadVideoParts(video,args['downloadDir'],args['force'])
  File "./globoDownloader.py", line 131, in downloadVideoParts
    url = self.api.resolve_video_url(video.id)
  File "/home/pi/plugin.video.globotv-master/resources/lib/globo.py", line 234, in resolve_video_url
    hashes = self._get_hashes(video_id, [r['_id']])
  File "/home/pi/plugin.video.globotv-master/resources/lib/globo.py", line 85, in _get_hashes
    raise Exception(data['message'])
Exception: Player not recognized
********************************************
**    End run on Sat Apr 26 22:15:02 BRT 2014 - Total Execution (Minutes) - 0
********************************************

Does this program still work? Could you help me with this? I'm trying to use it in Raspbmc. BTW, I do not have any experience in python programming.

Thanks!

rdtorres commented 10 years ago

Hi Santiago,

Yes. The program still works.

GbDownload relies on plugin.video.globotv library1. The version of the library that you are using is outdated. Please update it and gbDownload will work.

Let me know if you need any additional help.

[]'s Rafael Torres

On Sat, Apr 26, 2014 at 9:19 PM, santiagoluz notifications@github.comwrote:

Hello Rafael, I've tried to find any other way to contact you, but I've only found this. I'm trying to run gbDownloader, but it is returning error when I try to download a video:

pi@raspbmc:~/gbDownloader-master$ ./globoDownloader.sh -dv 3297823


\ run on Sat Apr 26 22:14:47 BRT 2014


\ running job globoDownloader.sh on Sat Apr 26 22:14:48 BRT 2014 running = 0 INFO:FakePlugin:Using Properties file: globoDownloader.ini INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.globovideos.com DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297823/playlist HTTP/1.1" 200 868 INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.globovideos.com DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297776/playlist HTTP/1.1" 200 666 INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): api.globovideos.com DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297585/playlist HTTP/1.1" 200 667 DEBUG:FakePlugin:resolving video: 3297776 INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): security.video.globo.com DEBUG:requests.packages.urllib3.connectionpool:"GET /videos/3297776/hash?resource_id=5356c13add238148fa001985&version=2.5.8&player=flash HTTP/1.1" 200 None DEBUG:FakePlugin:resource ids: 5356c13add238148fa001985 DEBUG:FakePlugin:return: {"http_status_code":400,"message":"Player not recognized","code":"PNR"} ERROR:FakePlugin:Request error: [400] Player not recognized Traceback (most recent call last): File "./globoDownloader.py", line 202, in gd.downloadVideoParts(video,args['downloadDir'],args['force']) File "./globoDownloader.py", line 131, in downloadVideoParts url = self.api.resolve_video_url(video.id) File "/home/pi/plugin.video.globotv-master/resources/lib/globo.py", line 234, in resolve_video_url hashes = self._get_hashes(video_id, [r['_id']]) File "/home/pi/plugin.video.globotv-master/resources/lib/globo.py", line 85, in _get_hashes raise Exception(data['message']) Exception: Player not recognized


\ End run on Sat Apr 26 22:15:02 BRT 2014 - Total Execution (Minutes) - 0


Does this program still work? Could you help me with this? I'm trying to use it in Raspbmc. BTW, I do not have any experience in python programming.

Thanks!

Reply to this email directly or view it on GitHubhttps://github.com/rdtorres/gbDownloader/issues/3 .

santiagoluz commented 10 years ago

Thank you so much! :) It's working fine now! Great! :D