Webbeh Wrote:I'd love a much older archive too. That'd be great.
Would it be possible to scrape the ep name into the title, and the date into the description?
I definitely agree with a better naming scheme, as for me... I have no idea which daily number I'm on as sometimes I might be a day or two behind (heinous, I know!).
But you can actually easily change this yourself. If you open Default.py in your favorite text editor (notepad, wordpad, gedit, vi, etc)...
if you look a few lines under the line "def VIDEOLINKS(url, name):", you'll see a line that says "name = name.split(' - ')". This combined with a function call a few lines down is where the name is being created. So how does it work?
Here's an example of the string being used...
"Day[9] Daily #191 - How to Analyze a Map and Adjust Your Play"
What this is doing is taking that string and returning an array of two values:
0 - "Day[9] Daily #191"
1 - "How to Analyze a Map and Adjust Your Play"
D0nR0sa is using the first array value to name the episodes in the listing. What I did was change the value being passed into name.split from ' - ' to 'Daily #'. You could possibly argue that '#' would be sufficient, but to avoid any future oddities with Day9 using a number sign in his title, I went a bit more specific. So what do we get in the array now?
0 - "Day[9] "
1 - "191 - How to Analyze a Map and Adjust Your Play"
I like the value of 1 for my daily names. So in the "addLink(...)" line that is before "def get_params():", just change the "name[0]" to "name[1]".
As for allowing more than 12 videos. The reason it doesn't do this is because it only grabs the first page in the video archive. It would need some sort of back and forward option in the listing. The only problem you run into... Day9 hasn't been consistent with his naming scheme the entire way through, so it might require some extra logic just to come up with a valid name.