Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download more metadata from SVT Play #18159

Open
ChlorideCull opened this issue Nov 12, 2018 · 1 comment · May be fixed by #19183
Open

Download more metadata from SVT Play #18159

ChlorideCull opened this issue Nov 12, 2018 · 1 comment · May be fixed by #19183

Comments

@ChlorideCull
Copy link

@ChlorideCull ChlorideCull commented Nov 12, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.11.07. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.11.07

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


Description of your issue, suggested solution and other information

The extractor for SVT Play doesn't grab all metadata, most notably description, season_number, and episode_number. It's available in the root['__svtplay'] JSON object that's already grabbed by the extractor, under "videoPage" > "video", under the names description, season, and episodeNumber.

This is a relatively simple change, I'll probably fix it myself if no one else gets to it first.

Here's an episode with these properties, for convenience.

@ChlorideCull
Copy link
Author

@ChlorideCull ChlorideCull commented Nov 12, 2018

Apparently there's an API, as used by the unofficial Kodi addon, which can be used instead of scraping the site.

I'll rewrite the extractor to use the API instead of scraping the pages when I have time.

@0x9fff00 0x9fff00 linked a pull request that will close this issue Feb 9, 2019
5 of 9 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.