flocascio / get-flash-videos

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

"Nico video" can not download files in several #65

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello. I am Japanese.

OS Windows Vista SP3

(Issue 1)
Japanese environment
"Nico video" to download videos from.

This is a trivial problem
Is printed below.

C:\Downloads>perl get_flash_videos http://www.nicovideo.jp/watch/sm2782986
Downloading http://www.nicovideo.jp/watch/sm2782986
Using method 'nicovideo' for http://www.nicovideo.jp/watch/sm2782986
Downloading http://smile-com12.nicovideo.jp/smile?v=2782986.22494...
・」・ュ_譫ッ繧後k阮碑枚.flv: 100% (563.19 / 563.19 KiB)
Done. Saved 576707 bytes to CM_枯れる薔薇.flv

> ・」・ュ_譫ッ繧後k阮碑枚.flv: 100% (563.19 / 563.19 KiB)

The file has been saved successfully.
However, the display is garbled in progress.

(Issue 2)

"Nico video" to download videos from.

C:\Downloads>perl get_flash_videos-1.20 http://www.nicovideo.jp/watch/nm7382869
Downloading http://www.nicovideo.jp/watch/nm7382869
Using method 'nicovideo' for http://www.nicovideo.jp/watch/nm7382869
Downloading http://smile-cca21.nicovideo.jp/smile?s=7382869.26170...
Sorry, file does not look like a media file, aborting.

There seems to be following the law.

[OK ID] http://www.nicovideo.jp/watch/smXXXXXX
Desired file "XXXX.flv"

[NG ID] http://www.nicovideo.jp/watch/nmXXXXXX
Desired file "XXXX.swf"

I'm glad they will have to improve.

If you can please you better.
Thank you.

Original issue reported on code.google.com by waraioto...@gmail.com on 15 Feb 2010 at 4:25

GoogleCodeExporter commented 8 years ago
Time to bump this, as I've just discovered that Nico Nico now serves raw Flash 
animations aside of videos, and got this interesting surprise just today trying 
to download some "videos" which turned out to be other things.

Indeed, smXXXXXX IDs are for .FLVs, while nmXXXXXX IDs are for .SWFs (not 
FLV-embedded-in-SWF, but actual Flash animations!). The first download attempt 
will bail out because it will notice that the media it's downloading it's not 
an actual video file, but it will leave a ~1KB .SWF in the target directory. 
Attempting the download again will notice the incomplete file, and instead of 
complaining, it will resume the download to completion.

While a .SWF is hardly a video (and the script isn't called "get-flash-FLASH"), 
this feature comes handy anyway, so a fix should be implemented. At least there 
is a workaround.

Original comment by tom...@gmail.com on 18 Apr 2014 at 2:39