0x776b7364 / toggle.sg-download

Python script to automate Toggle.sg video downloads
MIT License
26 stars 18 forks source link

Unable do quick download a whole MediaCorp Collection series. #12

Closed cmemil closed 8 years ago

cmemil commented 8 years ago

I cannot quickly batch download the whole series of a number of MediaCorp Collection series such as:

http://video.toggle.sg/en/series/the-winning-team/ep25/366497 http://video.toggle.sg/en/series/katong-miss-oh-miss-oh/ep13/362186 http://video.toggle.sg/en/series/lobang-king-lobang-king/ep22/3622

In order to download the entire series, I need to copy each episode link one by one and manually paste in cmd which can take up a lot of time. Is there any way to have a whole series link?

0x776b7364 commented 8 years ago

Did you use the latest script, the one with the series support? Edited to add: for example, for The Winning Team, try using http://tv.toggle.sg/en/shows/the-winning-team/episodes as the input URL to the script.

cmemil commented 8 years ago

Yes, I did, but it asks me to select the quality (STB/iPad/IPH/ADD) for every single one of the files, even though the order of those are exactly the same and STB (my preferred option) is always number 3 every time for all 25 episodes. Just wondering if there's any way to permanantly select STB instead of entering "3" every time?

Also, after a few seconds of downloading an m3u8 video, I get the following:

Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
[!] Error: ffmpeg file not found, or existing file is for incorrect architecture
[i] Thread 20d8cbfd completed download!
[i] Done!

I've tried using the latest version of ffmpeg.exe and placed it in the same folder as download_toggle_video2.py I've tried using the same ffmpeg.exe file for converting a few videos which worked.

0x776b7364 commented 8 years ago

I've just updated the README. See if you can set the AUTO_DOWNLOAD option to 1. FILE_PREFERENCES already sets STB as the first (and highest priority), and so that should suit you. Do provide the Toggle episode URL so that I can replicate the m3u8 download issue.

cmemil commented 8 years ago

Thanks for that. It now allows me to batch download an entire series with no interaction. However, the ffmpeg issue remains.

gromgit commented 8 years ago

@cmemil Your ffmpeg m3u8 issue is almost certainly the one I reported yesterday: #13

0x776b7364 commented 8 years ago

I'll close this as the file format selection issue is resolved. We can take up the ffmpeg issue on the other thread.