MiraculousLegendas / get-flash-videos

Automatically exported from code.google.com/p/get-flash-videos
1 stars 0 forks source link

PBS doesn't work (at least for Masterpiece videos) #554

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. see debug log below
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
os x 10.6.8  - most recent 1.2.4 of get_flash_videos

Please provide any additional information below.

./get_flash_videos 
http://www.pbs.org/wgbh/masterpiece/watch-online/full-episodes/sherlock-season-3
-empty-hearse/ --debug
No plugins installed
Downloading 
http://www.pbs.org/wgbh/masterpiece/watch-online/full-episodes/sherlock-season-3
-empty-hearse/
-> GET 
http://www.pbs.org/wgbh/masterpiece/watch-online/full-episodes/sherlock-season-3
-empty-hearse/
<- 200 text/html; charset=utf-8 (52911): UTF8 on, non-ASCII, 52911 characters 
52919 bytes
Trying to open plugin ~/.get_flash_videos/plugins/Www.pm
Using method 'pbs' for 
http://www.pbs.org/wgbh/masterpiece/watch-online/full-episodes/sherlock-season-3
-empty-hearse/
media_id: 2365150373

-> GET http://video.pbs.org/videoPlayerInfo/2365150373
<- 301 text/html; charset=utf-8 (0): UTF8 on, ASCII, 0 characters 0 bytes
Error: File does not exist:  at ./get_flash_videos line 7193
 (from FlashVideo::Site::Pbs::./get_flash_videos::14051)

Couldn't extract Flash movie URL. This site may need specific support adding,
or fixing.

Please confirm the site is using Flash video and if you have Flash available
check that the URL really works(!).

Check for updates by running: ./get_flash_videos --update

If the latest version does not support this please open a bug (or
contribute a patch!) at http://code.google.com/p/get-flash-videos/
make sure you include the output with --debug enabled.
Couldn't download any videos.

Original issue reported on code.google.com by benjamin...@gmail.com on 3 Feb 2014 at 6:13

GoogleCodeExporter commented 8 years ago
Most versions of get_flash_videos report version 1.25.
The current version displays a plugin version or 0.00 if version not set.

Using method 'pbs' plugin version 0.01 for 
http://www.pbs.org/wgbh/masterpiece/watch-online/full-episodes/sherlock-season-3
-empty-hearse/
Downloading 
http://www.pbs.org/wgbh/masterpiece/watch-online/full-episodes/sherlock-season-3
-empty-hearse/
-> GET 
http://www.pbs.org/wgbh/masterpiece/watch-online/full-episodes/sherlock-season-3
-empty-hearse/
<- 200 text/html; charset=utf-8 (52766): UTF8 on, non-ASCII, 52766 characters 
52774 bytes
media_id: 2365150373

-> GET http://video.pbs.org/videoPlayerInfo/2365150373
<- 200 application/xml (5634): UTF8 on, non-ASCII, 5634 characters 5640 bytes
Error: Cannot decode string with wide characters at 
/usr/libdata/perl5/amd64-openbsd/5.16.3/Encode.pm line 176.
 (from FlashVideo::Site::Pbs::/loader/0x179c331332b0/FlashVideo/Site/Pbs.pm::79)

For Pbs.pm the version is 0.01, this had been updated recently, and depends on 
new routines so can't just be downloaded by itself. 

Restricted by region, so I can't look at it.

The sherlock season 3, was available with BBC Iplayer, time has expired, again 
restricted by region.

Original comment by njtaylor...@gmail.com on 3 Feb 2014 at 8:59

GoogleCodeExporter commented 8 years ago
I can download this video using 1.25 from git and the modification described in 
issue #536

Original comment by pcwal...@comcast.net on 4 Feb 2014 at 7:33

GoogleCodeExporter commented 8 years ago
Attached my changed plugin, includes update in #536. comment #3, and might fix 
comment #5

Using method 'pbs' plugin version 0.02 for 
http://www.pbs.org/wgbh/masterpiece/watch-online/full-episodes/sherlock-season-3
-empty-hearse/
Downloading 
http://www.pbs.org/wgbh/masterpiece/watch-online/full-episodes/sherlock-season-3
-empty-hearse/
-> GET 
http://www.pbs.org/wgbh/masterpiece/watch-online/full-episodes/sherlock-season-3
-empty-hearse/
<- 200 text/html; charset=utf-8 (52584): UTF8 on, non-ASCII, 52584 characters 
52598 bytes
media_id: 2365150373

-> GET http://video.pbs.org/videoPlayerInfo/2365150373/
<- 200 application/xml (5634): UTF8 on, non-ASCII, 5634 characters 5640 bytes
encrypted release url: 
aes$0E486F8ABA2063B31F5A8FDFC98D39EC$oCLqhARyOK2uB3uxH0DEcBuKu2mYEL0QYrQUahbD6Ea
dAOyMYrSq9KEKLWQGv98vBrrtxSM3qPYHGNeNwEfeA6EhQToDgYjflku9aXvHg8E=

unencrypted release url: 
http://urs.pbs.org/redirect/4bcd70c4cdb04c13b8e1409f0107d1fe/&player=portal

-> GET 
http://urs.pbs.org/redirect/4bcd70c4cdb04c13b8e1409f0107d1fe/&player=portal
<- 403 text/html; charset=UTF-8 (143): UTF8 on, ASCII, 143 characters 143 bytes
Error: Not whitespace after PUBLIC ID in DOCTYPE [Ln: 1, Col: 223224304741184]
 (from FlashVideo::Site::Pbs::/loader/0x1960ad6f8880/FlashVideo/Site/Pbs.pm::104)

Couldn't extract Flash movie URL. This site may need specific support adding,
or fixing.

When I tried a browser gave region restricted, response 403 is I think due to 
the region restirction, can't be sure.

Original comment by njtaylor...@gmail.com on 4 Feb 2014 at 8:24

Attachments:

GoogleCodeExporter commented 8 years ago
I have a new Pbs.pm working.

See issue #577

Original comment by pcwal...@comcast.net on 14 Jul 2015 at 7:19