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.
7Plus (Australia) extractor doesn't provide series name #15862
Comments
|
7plus seems to be geo restricted. I tried with both TOR and some proxys I found, but was not able to get access, I always get "HTTP Error 403".
And then tell me, whether it worked, or not. :) |
|
Many thanks for this. The resulting download has this name:
In the extractor, there is this:
In that code, is the "title" sought the same as the Video title used in the ytdl output template ? 7Plus always has a video title. But, they don't provide the series title. Thus:
results in: But, they do put the series title in the web page title together with their own brand (ie. <title>Mighty Planes | 7Plus</title>). The series title is that text trimmed on the right by 8 characters. They don't have season and episode numbers in metadata either but, at least, they are in the title and so get-able. Cheers. |
|
I'm not sure, if I get you right. If the text between |
The text " | 7Plus" is part of the web page title but, not part of the series name or file title. We don't need that in the file name – it's the name of the web site and so ideally, would be trimmed off. In your example, it would help if the result was: I did more tests today with a different show. Here is what happened:
resulted in:
resulted in: I have been hoping that the extractor can provide the "series" parameter so that the result of the first test would be I don't have experience in overcoming geo-blocks. But, I believe a VPN which ended within Australia would work. I did testing recently on downloading from ITV and found that youtube-dl does something with proxies which enabled me to finish the testing. Will that work on 7Plus ? In case it's useful, I've attached a copy of an example web page in a couple of formats. I should disclose that I'm developing a GUI youtube-dl front-end for macOS. It's just a retirement project in AppleScript. All my code is freely available with the applet. Cheers. |
|
Hi, I think, I achieved what you looked for, see the new commit. Honestly, at first I simply missunderstood you. ^^ Please try it out. However, I used the following command line, no other relevant informat is extracted seperately as far as I can see. I also added a test. Did you know the already onging youtube-dl GUI project? I never tried it and basically only know, that it exists, but maybe its helpful for your work! Ref: kayb94/youtube-dl@4db0556 Regards |
|
Yes, that's done it. Many thanks. the resulting file is called:
Yes, season and episode numbers are often in the title and not as meaningful as the series name. I did do some research on GUIs for macOS. There are other GUIs written in AppleScript or Automator but, they usually require manual updates to youtube-dl and ffmpeg. One always installed Python even though Python is standard in macOS. Some had faults that got in the way while others lacked functions I wanted. There are some good cross-platform efforts. One called youtube-dl-gui requires wxPython. It looks well designed but I wanted something more native to macOS. Cheers. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.03.10. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
The site 7Plus.com.au is a new design. The site no longer provides series names in the normal way. Instead, series names are stored in the web page title ie. between <title> </title> pairs with the 7Plus name added. For example the series name for all episodes of the Mighty Planes TV show is stored as: <title>Might Planes | 7Plus</title>. This is the only location easily found for the series name. I have tried other means including options, output template parameters and parsing the URL without success. The series name is not in the JSON data.
An example web page is: URL https://7plus.com.au/MTYS?episode-id=MTYS7-003
Can the 7Plus extractor be updated to enable youtube-dl to output the series name using the web page title ?
Thanks.