monsieurvideo / get-flash-videos

Download or play videos from various Flash-based video hosting sites, without having to use the Flash player.
Apache License 2.0
240 stars 68 forks source link

How to use download from dplay? #202

Closed flyingzebras closed 8 years ago

flyingzebras commented 8 years ago

How do I download videos from say: http://www.dplay.se/gransbevakarna-australien/

The problem is that there are no links on the video images so there is no URL to copy.

pcwalden commented 8 years ago
$ get_flash_videos-1.25 'http://www.dplay.se/gransbevakarna-australien/'
Using method 'dplay' plugin version 0.01 for http://www.dplay.se/gransbevakarna-australien/
Downloading http://www.dplay.se/gransbevakarna-australien/
Error: Not a HASH reference at /home/pwalden/bin/get_flash_videos-1.25 line 3254.

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: /home/pwalden/bin/get_flash_videos-1.25 --update

If the latest version does not support this please open a bug
at http://code.google.com/p/get-flash-videos/ making sure you include
the output with --debug enabled. Alternatively, fix it yourself and send us
a pull request on Github: https://github.com/monsieurvideo/get-flash-videos
Couldn't download any videos.

You do not need flash or need to specifiy the links. The site-specific plugin should locate them and ask you which one you want to download.

However, it looks like the Dplay.pm site's plugin has not been refreshed since 2005. So it likely needs someone to update it to work with the current version of web site.

flyingzebras commented 8 years ago

@pcwalden

However, it looks like the Dplay.pm site's plugin has not been refreshed since 2005. So it likely needs someone to update it to work with the current version of web site.

I saw you among the contributors, can you please have a look?

I don't think I can fix this by myself. But I'm willing to help if someone can delegate tasks for me.

karjonas commented 8 years ago

How do I download videos from say: http://www.dplay.se/gransbevakarna-australien/

The problem is that there are no links on the video images so there is no URL to copy.

There are actually links if you press the titles. For instance http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/

./get_flash_videos 'http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/' Using method 'dplay' plugin version 0.01 for http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/ Downloading http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/ Downloading segments 2% [====

pcwalden commented 8 years ago

@karjonas, I am glad the plugin works on the video links.

Sounds like the site plugin could be enhanced to find these video links and list them for the user to select.

flyingzebras commented 8 years ago

@karjonas You need a Flash player installed to make the links working. I do not have a Flash player on my system.

flyingzebras commented 8 years ago

@pcwalden Good call.

karjonas commented 8 years ago

@flyingzebras Yes, the links under "Senaste" do not work but the links under "Mer från Gränsbevakarna Australien" do. I suggest you use these until the script has been improved.

ssdplay

@pcwalden Yes, that would be better.

flyingzebras commented 8 years ago

@karjonas I get this with the latest git version:

get_flash_videos 'http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/' Using method 'generic' for http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/ Downloading http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/ Guessed http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/%5C trying... Guessed http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/DiscoverySBS_flash_live trying... Using method 'generic' for http://www.googletagmanager.com/ns.html?id=GTM-TMK34L Downloading http://www.googletagmanager.com/ns.html?id=GTM-TMK34L Error: No URLs found at /usr/share/perl5/FlashVideo/Generic.pm line 144.

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: /usr/bin/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.

karjonas commented 8 years ago

@flyingzebras Please verify you are running the right version by running ./get_flash_videos --version

flyingzebras commented 8 years ago

@karjonas This apply to https://github.com/monsieurvideo/get-flash-videos/archive/master.zip downloaded earlier today.

flyingzebras commented 8 years ago

https://code.google.com/archive/p/get-flash-videos/wikis/Installation.wiki says for:

sudo apt-get install libwww-mechanize-perl libxml-simple-perl wget http://get-flash-videos.googlecode.com/files/get-flash-videos_1.24-1_all.deb sudo dpkg -i get-flash-videos_1.24-1_all.deb

The URL should be updated to https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/get-flash-videos/get-flash-videos_1.24-1_all.deb

flyingzebras commented 8 years ago

sudo apt-get install libwww-mechanize-perl libxml-simple-perl wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/get-flash-videos/get-flash-videos_1.24-1_all.deb sudo dpkg -i get-flash-videos_1.24-1_all.deb get_flash_videos --version

get_flash_videos version 1.24 (http://code.google.com/p/get-flash-videos/)

get_flash_videos --debug 'http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/'

1 plugin installed: "- Dplay.pm" Downloading http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/ -> GET http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/ <- 200 text/html; charset=UTF-8 (26944) Trying to open plugin ~/.get_flash_videos/plugins/Www.pm Trying to open plugin ~/.get_flash_videos/plugins/Dplay.pm Using method 'dplay' for http://www.dplay.se/gransbevakarna-australien/season-9-avsnitt-1/ -> GET https://secure.dplay.se/secure/api/v2/user/authorization/stream/163022?stream_type=hls <- 200 application/json (432) FlashVideo::RTMPDownloader=HASH(0x2ab2c68) Running rtmpdump --downloader 'hls' --verbose --args 'HASH(0x2a10780)' --flv 'Gränsbevakarna_Australien_Season9Avsnitt_1_Kanal9Dplay.mp4' RTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL rtmpdump: unrecognized option '--downloader' unknown option: ?

flyingzebras commented 8 years ago

Works: https://github.com/monsieurvideo/get-flash-videos/issues/202#issuecomment-247764416

karjonas commented 4 years ago

Sorry to say it but this project is basically dead now so I suggest using youtube-dl or something else.

karjonas commented 4 years ago

Yes, https://github.com/blackjack4494/yt-dlc/blob/master/docs/supportedsites.md