Myspace Video

By sizzlemctwizzle Last update Sep 4, 2007 — Installed 1,963 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 6 posts, 5 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
gnomon User

The logic in this script is a bit brittle: it breaks if the ordering of the elements in the XML description file changes at all (see line 23 in the script where absolute child node addressing is used).

It is possible to add an incredibly ugly hack to try to extract more information if the absolute addressing fails: after line 23, insert the following:

if (! flv.match(/flv$/)) flv = text.match(/"(http[^"]+flv)"/)[1];

This is far from ideal, but it does function. A proper approach would scan the DOM tree (or the result of an XPath expression) for acceptable candidates and then select the correct alternative; sadly, I'm too lazy to do that right now, especially since the aforementioned abominable hack, as the saying goes, WorksForMe.

 
sizzlemctwizzle Script's Author

thanks for letting me know that. I updated the includes to reflect your suggestion.

 
blika User

thanks for the script! I needed to edit the included pages, changing the last var in the url:

instead of

http://vids.myspace.com/index.cfm?fuseaction=vi...=*

you should have

http://vids.myspace.com/index.cfm?fuseaction=vi...=*

after this change (videoId to videoid) I was able to see the links and to download the vids.

P.S. Sorry but I'm new to this ;)

 
sizzlemctwizzle Script's Author

thats strange. video links work fine for me.

 
M0rph3u5 User

nice script but cant get to download video from myspace dunno why i get a video from youtube im try again

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel