Downloading with Default File Name?

Ask for help about FlashGot, no registration needed to post
Post Reply
SuperConfuzzed

Downloading with Default File Name?

Post by SuperConfuzzed »

Is there a way to download with the original file names? Currently it seems to take the website title and put that as the filename. This becomes an issue when the filenames are too long. For example:

http://www.twitch.tv/1337loungelive/b/420273404

This website doesn't use a single file for the video but rather a new file per 30 minutes. In the link I put, there are 49 separate .flv files for the entire video. Seek around with flashgot will pick up links for each video once the new video loads. This is one of many cases I've run into where the file name becomes too long so the file name for every section of the video ends up being the same and either overwriting or skipping the file for DTA or just appends the file with (n) for each subsequent file if using Firefox's download manager. The latter in particular works especially awful since when seeking around, the video has seeking in the php (?start=video time). This causes many duplicates when downloading.

Is there a way to change the setting so that all files downloaded keep the original "filename.extension" instead of taking the website title? I would like to preserve the original file name if possible and ideally doing this through DTA.
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/22.0.1207.1 Safari/537.1
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Downloading with Default File Name?

Post by therube »

I would suspect that they are in fact individual streams, at 478 MB each.
Each named differently.

> This is one of many cases I've run into

Where are others?
I've not come across anything like this before.

As far as names, I'm getting stuff like this:

Code: Select all

06/24/2013 07:20:29 PM.581 GET /archives/2013-6-22/live_user_1337loungelive_1371898741.flv HTTP/1.1
06/24/2013 07:20:05 PM.191 Content-Length: 500915411

name: live_user_1337loungelive_1371898741.flv

06/24/2013 07:22:20 PM.173 GET /archives/2013-6-22/live_user_1337loungelive_1371907745.flv HTTP/1.1
06/24/2013 07:22:20 PM.273 Content-Length: 500759221

name: live_user_1337loungelive_1371907745.flv
And that looks good to me (unique).

How to determine those 49 individual "segments"?
Wouldn't have a clue.

It would be a pain, but you could jump through the entire stream, in 30 min hops, FlashGot would pick up all those links. You could output the links to a (text) file. Edit, removing the &start=. sort | uniq, then send that massaged list to your download manager. Where it would promptly go & fill up your HDD, if you were lucky?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 SeaMonkey/2.20a2
SuperConfuzzed

Re: Downloading with Default File Name?

Post by SuperConfuzzed »

How do I export the links gathered by FlashGot to a text file? Is there a convenient way to output a text file with all the links grabbed by FlashGot? I'm using Windows 7 BTW but couldn't find an export option. I have already come to terms that there is no easy way to save videos off twitch.tv due to their file split system; but as I see it, me clicking through each 30 minute segment is still more time efficient than doing it through copy/pasting the console links/http headers.

As for the other sites with the same issue, I cannot recall the URL but the issue is similar in that the title was too long and the original file name won't fit. (note: it appears that the page title is used as the file name then the actual file name is placed at the end). I'll provide the URLs when I find them (not a porn site btw).
Mozilla/5.0 (Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/10.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Downloading with Default File Name?

Post by therube »

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 SeaMonkey/2.21a2
SuperConfuzzed

Re: Downloading with Default File Name?

Post by SuperConfuzzed »

Forgot all about posting this. Just gave this a try and it worked fantastically. I tried to do the wordpad list export before but just guessed on the output syntax and of course, it failed. Thanks a million therube.
Mozilla/5.0 (Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/10.0
SuperConfuzzed

Re: Downloading with Default File Name?

Post by SuperConfuzzed »

Sorry for double post. Not sure if this belongs in another section or I should open a new thread but, when I use FlashGot with DownThemAll, I get a serious slow down in browser performance. Sometimes it would require terminating Firefox and restarting to restore performance speed. My cpu jumps up quite a bit in my task manager when this happens. Is this normal? If not, is there a solution or is there an alternative manager you recommend?
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/22.0.1207.1 Safari/537.1
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Downloading with Default File Name?

Post by therube »

AFAIK FlashGot is just handing over links to DTA, so once that part is done it is out of the picture. DTA is doing the actual downloading.

If there is an issue I would look at the DTA end first.
(I believe they default to using 7 segments per file. I've used DTA from time to time & haven't noticed anything out of the ordinary when doing so. I use their beta.)


Now Net Transport (a download manager) noted: "Fixed a bug that merging FLV would make program to crash probably due to out of memory.".

Not exactly sure just what that means, but I have noticed over their last couple versions that downloads, at times, seemingly from particular sites, cause it to use 25% CPU (1 of 4 cores) & outrageous amounts of RAM, seeing >800 MB before finally subsiding. So something happened on their end where they've introduced a leak, that if different from their "fixed bug", is yet a new bug.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 SeaMonkey/2.21a2
Post Reply