Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Channel 10 (AUS) tenplay.com.au site not working #21446
Comments
|
YoutubeDL v2019.08.02 A git diff of the files I have modified or added is attached to this comment. Klan30destine |
|
Channel 10 a major network in Australia - equivalent to ITV, TV5Monde, RTL, NBC or CBS (they are owned by CBS). So, it would greatly help Australian users if this issue could be fixed. |
|
I believe I have fixed the problem. It is working for me but I need someone else to verify it with the git diff of the files I provided. I am not an experienced Python programmer so if someone else has the ability to review the code and refactor it where needed, then they update the Github to the required Youtube-DL standard, the solution can be shared. |
Can you post your solution as a pull request ? That might encourage someone to have a look |
|
Unfortunately, I am not familiar with pull requests or working on github. At the moment I do not have the time to learn about pull requests and was hoping somebody else with Youtube-DL and Python experience might be able to provide that requirement from the diffs I provided. Apologies for this as I have some full time work I have to do over the next month and cannot afford the time to do other work. |
|
Fair enough – don't worry, we non-Pythoneers will have to wait. In the meantime, there are commercial tools which can DL from 10Play. |
|
Not for all downloads. This one works:
https://10play.com.au/australian-survivor/episodes/season-5/episode-9/tpv200218wzsny
Problem could be the “web-extras” URL. The 10play extractor assumes that a valid URL is in the format:
https?://(?:www\.)?10play\.com\.au/[^/]+/episodes/[^/]+/[^/]+/(?P<id>tpv\d{6}[a-z]{5})
But, the web extras URLs are not in that format. So, YTDL reverts to the generic extractor which in turn reports the URL is unsupported.
|
Checklist
Verbose log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--newline', '--format', 'mp4+m4a', '--prefer-ffmpeg', '--ffmpeg-location', 'C:\Utilities\FFMpeg\bin', '--no-overwrites', '--restrict-filenames', '--outdir', 'C:\Documents\TenPlay', 'https://10play.com.au/mr-black/episodes/season-1/episode-7/tpv190618rpzcm']
[debug] Encodings: locale cp1252, fs utf-8, out cp1252, pref cp1252
[debug] youtube-dl version 2019.06.08
[debug] Git HEAD: fe2e7db
[debug] Python version 3.6.3 (CPython) - Windows-10-10.0.17134-SP0
[debug] exe versions: ffmpeg 4.0, ffprobe 4.0
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
ERROR: Unsupported URL: https://10play.com.au/mr-black/episodes/season-1/episode-7/tpv190618rpzcm
Traceback (most recent call last):
File "C:\Development\Python\Project_Youtube-dl\youtube_dl\YoutubeDL.py", line 805, in extract_info
ie_result = ie.extract(url)
File "C:\Development\Python\Project_Youtube-dl\youtube_dl\extractor\common.py", line 530, in extract
ie_result = self._real_extract(url)
File "C:\Development\Python\Project_Youtube-dl\youtube_dl\extractor\generic.py", line 3316, in _real_extract
raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://10play.com.au/mr-black/episodes/season-1/episode-7/tpv190618rpzcm
Description
WRITE DESCRIPTION HERE
I am trying to download an episode of a TV program from tenplay.com.au but I am getting an error that seems to claim that it is an unsupported URL. I downloaded an episode of this program last week 2019/06/14 and that worked OK. When I enter this URL in a browser, it brings up the correct browser window that allows the episode to be played.
When I opened the tenplay website, it popped up a message saying Welcome to the new tenplay site. So they have done some changes to the site and one that is obvious is the last part of the URL "tpv190618rpzcm" which was not on the URL I used to download last week. So they have added some coding to the URL that probably needs to be used to get to the actual site for the episode.
I am running YOUTUBE-DL from the Python code and not an EXE on Windows The program has not called FFMPEG yet so I believe that the problem is in the YOUTUBE-DL code in how it is analysing the data it is retrieving from the website to pass to FFMPEG. Also, there is no tenplay.py in the extractor folder so it is using the generic.py source to analyse the specific data related to tenplay.
Thanks
Adrian