View Single Post
  #228  
Old 11-21-2014, 10:38 AM
joe5 joe5 is offline
Junior Member
 
Join Date: Nov 2014
Posts: 7
joe5 is on a distinguished road
Default

Re: Adobe HDS Downloader


Whoops. Already discovered a major bug with my script. The timestamp code at the top generates a name with a space if the time is single digits, which messes up the whole script.

So I replace with the following to make it more reliable:

Code:
set d=%date:~-4,4%%date:~-7,2%
set d=%d: =_%
set t=%time:~0,2%%time:~3,2%%time:~6,2%
set t=%t: =0%

SET TEMPFILE=%d%_%t%
I am not a programmer, so I'm sure there may be much better ways to do this, but this seems to work for now. I have also tested it on Discovery.ca and it is working well. The only issue I seem to run into is copying the links from Firefox seems inconsistent. Sometimes I have to select "copy" instead of "copy url" to get anything, but then I have to edit out the GET commands and trailing gobbledegook. UrlSnooper might be a better way to go.
Reply With Quote