Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
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. |
|
|
thanks for letting me know that. I updated the includes to reflect your suggestion. |
|
|
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 ;) |
|
|
thats strange. video links work fine for me. |
|
|
nice script but cant get to download video from myspace dunno why i get a video from youtube im try again |