flowhella / get-flash-videos

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

Plugin does not override site support by the same name #203

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. --add-plugin Tva.pl  (fixed)
2. get-flash-videos.pl -d 
http://videos.tva.canoe.ca/video/encore-plus-de-videos/encore-plus-de-videos/269
71060001/robert-charlebois-chante-miss-pepsi/689102032001

What is the expected output? 
Downloading 
http://videos.tva.canoe.ca/video/encore-plus-de-videos/encore-plus-de-videos/269
71060001/robert-charlebois-chante-miss-pepsi/689102032001
-> GET 
http://videos.tva.canoe.ca/video/encore-plus-de-videos/encore-plus-de-videos/269
71060001/robert-charlebois-chante-miss-pepsi/689102032001
<- 200 text/html; charset=UTF-8 (76782): UTF8 on, non-ASCII, 76782 characters 76
882 bytes
Trying to open plugin %appdata%/get_flash_videos/plugins/Videos.pm
Trying to open plugin %appdata%/get_flash_videos/plugins/Tva.pm
Using method 'tva' for 
http://videos.tva.canoe.ca/video/encore-plus-de-videos/encore-plus-de-videos/269
71060001/robert-charlebois-chante-miss-pepsi/689102032001

Extracted playerId: 27004028001, videoId: 689102032001

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...

...etc...

What do you see instead?
~Downloading http://videos.tva.canoe.ca/video/encore-plus-de-videos/encore-plus-
de-videos/26971060001/robert-charlebois-chante-miss-pepsi/689102032001
-> GET http://videos.tva.canoe.ca/video/encore-plus-de-videos/encore-plus-de-vid
eos/26971060001/robert-charlebois-chante-miss-pepsi/689102032001
<- 200 text/html; charset=UTF-8 (76843): UTF8 on, non-ASCII, 76843 characters 76
933 bytes
Trying to open plugin %appdata%/get_flash_videos/plugins/Videos.pm
              *** TVA.PM PLUGIN GOES HERE ***
Trying to open plugin %appdata%/get_flash_videos/plugins/Canoe.pm
Trying to open plugin %appdata%/get_flash_videos/plugins/Ca.pm
... etc ...

Using method 'generic' for 
http://videos.tva.canoe.ca/video/encore-plus-de-videos/encore-plus-de-videos/269
71060001/robert-charlebois-chante-miss-pepsi/68910203
2001
Found http://videos.tva.canoe.ca
Guessed http://videos.tva.canoe.ca trying...
Exists on http://videos.tva.canoe.ca: 200

... etc ...
... fails ...

What version of the product are you using? On what operating system?
 1.23, Windows XP, ActiveState PERL

Please provide any additional information below.
 Base Tva.pl returns false on can_handle()
 Plugin scanner skipped Tva.pl in plugin directory
 Fixed Tva.pl in plugin directory returns true on can_handle()
 Renaming module to Canoe works.

Original issue reported on code.google.com by stav...@gmail.com on 27 Nov 2010 at 6:55

GoogleCodeExporter commented 8 years ago
I believe this should now work on the 'CPAN' version (i.e. not the combined 
script). We're also looking at changing to App::FatPacker for the combined 
script which will fix this issue there.

Original comment by monsieur...@gmail.com on 3 Dec 2010 at 6:25