rt2yrru / get-flash-videos

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

Downloading from Hulu from a series grabs wrong file (fix submitted with report) #421

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download any file from a series on hulu, eg, booth at the end
2. wrong episode would download (typically first listed in series)
3.

What is the expected output? What do you see instead?
Grabbing the selected video, grabs the 1st in the listed series

What version of the product are you using? On what operating system?
latest, plus also latest w/ search fix on github

Please provide any additional information below.
Here is the fix (located on approximately line 77 of Hulu.pm):
Original line:   if ($browser->content =~ /content_id\D*(\d+)\D/) {
New line:   if ($browser->content =~ /huluim\.com\/video\/(\d+)\?size/) {

The issue was that it was grabbing the wrong content_id ($cid), as hulu 
recently revamped their user interface.

Original issue reported on code.google.com by njag...@gmail.com on 2 Sep 2012 at 12:25

GoogleCodeExporter commented 8 years ago
I can verify that this fixed the problems I was having

Original comment by gesquive on 2 Sep 2012 at 7:44

GoogleCodeExporter commented 8 years ago
Could someone post a link to the fixed compiled script? I'm running Win7x64 and 
am having trouble compiling.

Original comment by qli...@gmail.com on 3 Sep 2012 at 7:33

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Fixed in gitorious thanks to code from flashinpan, run get_flash_videos 
--update to get the latest version.

Original comment by zakflash...@gmail.com on 19 Sep 2012 at 7:49

GoogleCodeExporter commented 8 years ago
I think this needs to be re-opened:

$ get_flash_videos 
"hXXp://www.Xulu.com/watch/406901#play-queued-show-by-original_premiere_date-asc
"
Downloading 
hXXp://www.Xulu.com/watch/406901#play-queued-show-by-original_premiere_date-asc
Using method 'hulu' for 
hXXp://www.Xulu.com/watch/406901#play-queued-show-by-original_premiere_date-asc
Found Hulu CID: 60127441
Found Hulu EID: SNVBsQKdgpMOIFwuv5aSXw
Using quality H264 Medium
RTMP output filename 'Grimm-S02E01-Bad_Teeth.flv' already exists, asking to 
resume...
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Already Completed at: 2628.751 sec Duration=2.629 sec

Done. Saved 218852778 bytes to Grimm-S02E01-Bad_Teeth.flv
$ 

It should in fact download Grimm-S02E05-The_Good_Shepherd.flv

Original comment by matthew....@gmail.com on 5 Oct 2012 at 4:31