You are not logged in.

#1 2009-09-28 20:28:14

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

How do I figure out what's the download URL of a flash movie?

Hi there,

There's a website I use to watch flash videos from.
Because of bandwidth restrictions, now I need to download them. But I haven't been able to figure out what's the link to the flash file by looking at the web page source code.

Do you guys know of a way to see where the stream is being downloaded from? Some command line magic maybe?

Thanks.


what goes up must come down

Offline

#2 2009-09-28 20:30:42

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: How do I figure out what's the download URL of a flash movie?

Look inside the /tmp directory. There is the flashplugin cache.
And take a look at the downloadhelper ff plugin.

Offline

#3 2009-09-28 22:34:44

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: How do I figure out what's the download URL of a flash movie?

The 'DownloadHelper' plugin for Firefox is great for exactly this big_smile

Offline

#4 2009-09-28 22:41:13

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: How do I figure out what's the download URL of a flash movie?

I just started manually copying flash videos from the /tmp folder (you have to first download them through the player completely)...although DowloadHelper and a bunch of other firefox add-ons also do the job.


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#5 2009-09-29 07:17:05

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: How do I figure out what's the download URL of a flash movie?

Thanks for the tips.

Downloadhelper:
Unfortunately, that doesn't seem to work in my case: DownloadHelper only offers me to download flash adverts, not the actual video.
Check this page for instance. The video starts with an advertisement (which DownloadHelper sees), then comes the actual video.

flashplugin cache:
I couldn't find it in /tmp...

Last edited by brazzmonkey (2009-09-29 07:19:41)


what goes up must come down

Offline

#6 2009-09-29 07:25:08

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: How do I figure out what's the download URL of a flash movie?

Ugh, man... That sucks. I don't have any other suggestions, sorry hmm

Offline

#7 2009-09-29 07:27:54

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: How do I figure out what's the download URL of a flash movie?

Try the NetVideoHunter add-on.

Offline

#8 2009-09-29 08:14:20

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: How do I figure out what's the download URL of a flash movie?

Nope. Same issue.


what goes up must come down

Offline

#9 2009-09-29 09:16:45

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: How do I figure out what's the download URL of a flash movie?

Try flashgot...it seems to put a download link in the bottom statusbar for a video (works for me, you click it, it starts wget and downloads your video)

What site are you trying this on ? First try youtube, it has to work...and the videos should be straight in the /tmp folder with some weird name and no extension..if you use a graphical file browser you will pick it apart by the thumbnail

EDIT: Oh, I see...that site is BAAD

Last edited by moljac024 (2009-09-29 09:26:37)


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#10 2009-09-29 09:25:44

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: How do I figure out what's the download URL of a flash movie?

Doesn't work either. Only thing I'm able to retrieve is the video ad.
Check out http://www.canalplus.fr/c-humour/pid177 … e-net.html


what goes up must come down

Offline

#11 2009-09-29 09:42:17

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: How do I figure out what's the download URL of a flash movie?

With Firefox, Flash videos are saved to Firefox's cache.  The cache directory is '~/.mozilla/firefox/<RandomCharacters>/Cache/'

Wait until the target video has fully loaded in the browser and pause it (or keep it paused) then check the Firefox cache directory.  The video file is usually easy to determine, it will have a very recent time stamp and a size of several MB.  The cached videos will not be the files labeled '_CACHE_???_'.  Copy the candidate video file, giving it a '.flv' or even a '.swf' extension and try to play it with your video player.

This usually works for me but I can't get it to work with some of the links given above.

Last edited by thisoldman (2009-09-29 10:02:58)

Offline

#12 2009-09-29 09:50:00

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: How do I figure out what's the download URL of a flash movie?

I haven't been able to locate the cached file.
Anyway, that's not the point: I need the original URL so that I can schedule downloads.


what goes up must come down

Offline

#13 2009-09-29 10:03:34

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: How do I figure out what's the download URL of a flash movie?

Isn't there some kind of network monitor or something that whould show me which connections are active and corresponding URLs?


what goes up must come down

Offline

#14 2009-09-29 10:18:22

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: How do I figure out what's the download URL of a flash movie?

There are some flash movies which aren't saved to cache, I've run across them before.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#15 2009-09-29 12:27:59

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: How do I figure out what's the download URL of a flash movie?

Ok, but that's not the point. Cached or not cached, there should be a way to found out what's the source file's URL...


what goes up must come down

Offline

#16 2009-09-29 14:48:52

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: How do I figure out what's the download URL of a flash movie?

Don't bother with any of the browser based things.  Hands down the best tool is get_flash_videos.  If you are stuck on a machine where you can't install GFV, use clipnabber.com.  Not as capable, but they are the second best option.

edit:  ugh, that site is hideous.  My apologies for not actually testing it first.  It looks like the video is a two part thing.  Do a source search for "flashvideo_v2".  You can see the videoID there, but it just passes a slew of variable to http://player.canalplus.fr/embed/flash/ … barque.swf.  You've got two options.  One is to download the SWF, decompile it, and then run "strings" on the decompile.  Somewhere if there will be with URL of video, sans the videoID.  The second options is to manually call the SWF, removing one option at a time.  Trial and error, until something good happens.

Or just report the site as "not working" to the GFV people.  They are pretty good about adding more features.

Last edited by keenerd (2009-09-29 15:12:51)

Offline

#17 2009-09-29 15:13:13

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: How do I figure out what's the download URL of a flash movie?

get_flash_videos failed at finding flash streams, and clipnabber doesn't support the website which stores the videos I'd like to get...

Woops, sorry I just noticed you updated your post.

Last edited by brazzmonkey (2009-09-29 15:15:14)


what goes up must come down

Offline

#18 2009-09-29 15:40:26

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: How do I figure out what's the download URL of a flash movie?

And running

swfdump -D CanalPlayerEmbarque.swf  | grep "http" | grep -v "adobe"
swfdump -D CanalPlayerEmbarque.swf  | grep -A 5 -B 5 "videoId"

is not finding anything useful.  Sorry.

Last edited by keenerd (2009-09-29 15:48:54)

Offline

#19 2009-09-29 15:48:39

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: How do I figure out what's the download URL of a flash movie?

I'm getting closer...

Flashgot finds out the advert movie is

http://vod-flash.canalplus.fr/WWWPLUS/PROGRESSIF/0909/CLASSIQUE_VIDEO_090914_CAN_100661_video_H.flv#/P_pites_sur_le_Net_CLASSIQUE_VIDEO_090914_CAN_100661_video_H.flv

I guess the second part of URL (after #) is what I'm actually looking for. Yet I have to find the whole URL.

Last edited by brazzmonkey (2009-09-29 15:54:57)


what goes up must come down

Offline

#20 2009-09-29 19:35:41

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: How do I figure out what's the download URL of a flash movie?

What comes to my mind is that there may be no externally accessible URL of the file you want. The '#' could well be a signal to resolve the URL using a server internal database after the commercial has been sent and confirmed by the player.

I vaguely remember there are some access redirection tricks in flash which are not easily circumvented.

Last edited by bernarcher (2009-09-29 19:36:02)


To know or not to know ...
... the questions remain forever.

Offline

#21 2009-09-30 10:13:21

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: How do I figure out what's the download URL of a flash movie?

I think probably what you are talking about is rtmp streams.  Yeah, bernarcher is right they hide the url somehow.  There's a program that was previously able to do discover and download a rtmp stream called rtmpdump but from what I heard they were 'encouraged' to ammend the code.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#22 2009-10-01 07:50:49

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: How do I figure out what's the download URL of a flash movie?

I found this script on french ubuntu forums. Somehow it does the job.


what goes up must come down

Offline

Board footer

Powered by FluxBB