mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 18:34:32 +01:00
[libraryofcongress] better title if national jukebox
This commit is contained in:
parent
6a4d1f3672
commit
40e2cbd86c
@ -83,8 +83,9 @@ class LibraryOfCongressIE(InfoExtractor):
|
||||
derivative = data['derivatives'][0]
|
||||
media_url = derivative['derivativeUrl']
|
||||
|
||||
title = derivative.get('shortName') or data.get('shortName') or self._og_search_title(
|
||||
webpage)
|
||||
title = derivative.get('shortName')
|
||||
if (not title) or (title == "128 Bit Derivative"):
|
||||
title = data.get('shortName') or self._og_search_title(webpage)
|
||||
|
||||
# Following algorithm was extracted from setAVSource js function
|
||||
# found in webpage
|
||||
|
Loading…
Reference in New Issue
Block a user