HTTrack Website Copier
Free software offline browser - FORUM
Subject: Mirroring Flash video websites (part duex)
Author: Sittingduck
Date: 12/30/2010 16:36
 
Hi, I researched my specific issue a bit more.  This information is intended to
help make your product better.  I'm trying to mirror www.educator.com.  The
problem is that they pass variables to a Flash application which calculates
paths to XML files, then the XML files contain path fragments used to
calculate paths to the Flash videos.  Developing a general heuristic to
address this issue would be difficult.  However, maybe you could develop a
wizard that lets a user help HTTrack figure out what to do.

Here's an example.  You need to be a paid member to access the site's pages,
however the Flash videos are downloadable if you know the URLs.

(1) This PHP loads a Flash application and passes variables "course" and
"lecture".

URL: 
<http://www.educator.com/learn/chemistry/goldwhite/states-of-matter-intermolecular-forces-gases-and-gas-laws.php>

CODE SNIPPET:
<embed src="/media/educator.swf" 
id="educator" 
quality="high" 
menu="false" 
bgcolor="#000000" 
name="educator" 
allowscriptaccess="sameDomain" 
pluginspage=http://www.adobe.com/go/getflashplayer 
allowfullscreen="true" 
wmode="transparent" 
flashvars="course=chemistry/goldwhite&amp;lecture=Chem-1-12" 
type="application/x-shockwave-flash" 
align="middle" 
height="375" 
width="1150"> 


(2)  The Flash application calculates a path to an XML file.

<http://www.educator.com/media/x-m-l/chemistry/goldwhite/Chem-1-12.xml>


(3)  The XML file contains path fragments to the Flash videos for the camera,
tablet and examples.

<flv url=http://www.educator.com/media/lec/learn/chemistry-goldwhite/
main="Chem-1-12-Tablet-Lec.flv" side="Chem-1-12-Cam-Lec.flv" prof="Professor
Goldwhite"/>
<img url="/media/ss/chemistry/cxt/" main="ct/Chem-1-12-0.jpg"
side="goldwhite/Chem-1-12-0.jpg"/>

<examples>
<flv url=http://www.educator.com/media/ex/chemistry/
main="Chem-1-12-Tablet-Ex1.flv" side="Chem-1-12-Cam-Ex1.flv" prof="Professor
Goldwhite"/>
<flv url=http://www.educator.com/media/ex/chemistry/
main="Chem-1-12-Tablet-Ex2.flv" side="Chem-1-12-Cam-Ex2.flv" prof="Professor
Goldwhite"/>
</examples>


(4)  Finally, the URLs to the Flash videos.

<http://www.educator.com/media/lec/learn/chemistry-goldwhite/Chem-1-12-Cam-Lec.flv>
<http://www.educator.com/media/lec/learn/chemistry-goldwhite/Chem-1-12-Tablet-Lec.flv>

<http://www.educator.com/media/ex/chemistry/Chem-1-12-Cam-Ex1.flv>
<http://www.educator.com/media/ex/chemistry/Chem-1-12-Tablet-Ex1.flv>
<http://www.educator.com/media/ex/chemistry/Chem-1-12-Cam-Ex2.flv>
<http://www.educator.com/media/ex/chemistry/Chem-1-12-Tablet-Ex2.flv>

 
Reply


All articles

Subject Author Date
Mirroring Flash video websites (part duex)

12/30/2010 16:36
Re: Mirroring Flash video websites (part duex)

08/05/2011 22:47




0

Created with FORUM 2.0.11