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.
Problems with Disney: Fails to get series info (1 of 2) #13299
Comments
|
It's even better. The URL I used there: But there's another address for disney channel: That one works. ... So some things have three locations, three different sets of available videos, three different sets of information extractors, ...
|
|
We're dealing with two separate extractors here: Disney and Go. Making the following changes starting on Line 150 of disney.py may help:
|
|
On 2017-06-06, at 11:34 AM, gkoelln ***@***.***> wrote:
We're dealing with two separate extractors here: Disney and Go.
Making the following changes starting on Line 150 of disney.py may help:
return {
'id': video_id,
'title': title,
'description': video_data.get('description') or video_data.get('short_desc'),
'thumbnail': video_data.get('thumb') or video_data.get('thumb_secure'),
'duration': int_or_none(video_data.get('duration_sec')),
'upload_date': unified_strdate(video_data.get('publish_date')),
'formats': formats,
'subtitles': subtitles,
'season_number': int_or_none(video_data.get('externals', {})[0]['data'].get('Season')),
'episode_number': int_or_none(video_data.get('externals', {})[0]['data'].get('Episode')),
'series': video_data.get('ptitle'),
'episode': title
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Got it, adding 4 new fields.
Also, "episode" is not necessarily the same as "title"? ... hmm, something to experiment with.
…---
Entertaining minecraft videos
http://YouTube.com/keybounce
|
|
Yep. Works.
Ok, now, how do I send commit 40915c103bb4824bb5f4cf07586d24e4c5ca9964 to you as a pull request? (This is more of a "using git for group development" question). |
|
Episode is usually the same as title, but some titles are something like "Tangled - The Series - What the Hair" as opposed to just "What the Hair!?," depending on the extractor. It's a field that I use when necessary for that reason. |
|
Since I cannot access videos in question, can you check if a bit more defensive change in #13384 works? |
|
@keybounce Just following up on this ticket. Were you able to check if #13384 solves the problem for you? If yes, then we can close this ticket. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.06.05. 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?
Trying to fetch episodes from Disney XD works just fine; passing http://watchdisneyxd.go.com/star-vs-the-forces-of-evil results in identifying the individual episodes, and correctly identifies series, season, and episode.
But trying to fetch from Disney Channel fails.
Giving a specific episode does not retrieve series, season, or episode number