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.
NPR Tiny Desk Concert: some concerts fail #24531
Comments
|
I'm taking a look at this and so far what I've found is that in here we see "story" get created. I've made a small change to print "story" to see what the difference is between the successful and failed downloads. The output for each link is included here: change to file: story = self._download_json(
'http://api.npr.org/query', playlist_id, query={
'id': playlist_id,
'fields': 'audio,multimedia,title',
'format': 'json',
'apiKey': 'MDAzMzQ2MjAyMDEyMzk4MTU1MDg3ZmM3MQ010',
})['list']['story'][0]
playlist_title = story.get('title', {}).get('$text')
KNOWN_FORMATS = ('threegp', 'm3u8', 'smil', 'mp4', 'mp3')
quality = qualities(KNOWN_FORMATS)
print(str(story))https://www.npr.org/2011/07/28/138616627/they-might-be-giants-tiny-desk-concert
https://www.npr.org/2019/06/06/729312182/tomberlin-tiny-desk-concert
This one (https://www.npr.org/2019/03/04/700102793/meg-myers-tiny-desk-concert) fails differently for me, I might have more time to look into that later:
Shifting my focus to the other two links the main difference I can find is this. The When we pass this address (https://www.npr.org/2019/06/06/729312182/tomberlin-tiny-desk-concert) to youtube-dl it gives us no formats ( I'm trying to understand the code base better to know if youtube-dl is supposed to provide the formats included in the |
Checklist
Verbose log
Failure variation 1:
Failure variation 2:
Description
Some NPR Tiny Desk Concert links work, others do not.
Sample comparison: