mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 08:47:20 +08:00
[televizeseznam] inline api_url to graphql_url
This commit is contained in:
parent
dd46c55f92
commit
0ace168cea
@ -11,8 +11,7 @@ from ..utils import urljoin
|
||||
class TelevizeSeznamIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:www\.)?televizeseznam\.cz/(?:.+\/)(?P<display_id>.+)-(?P<id>[0-9]+)'
|
||||
|
||||
_API_BASE = 'https://www.televizeseznam.cz'
|
||||
_GRAPHQL_URL = '%s/api/graphql' % _API_BASE
|
||||
_GRAPHQL_URL = 'https://www.televizeseznam.cz/api/graphql'
|
||||
_GRAPHQL_QUERY = '''query LoadEpisode($urlName : String){ episode(urlName: $urlName){ ...VideoDetailFragmentOnEpisode } }
|
||||
fragment VideoDetailFragmentOnEpisode on Episode {
|
||||
id
|
||||
|
Loading…
x
Reference in New Issue
Block a user