mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-18 23:03:05 +01:00
apply @dirkf suggestion - makes code clearer and more legible
This commit is contained in:
parent
160f09c17f
commit
1160c6db48
1 changed files with 3 additions and 3 deletions
|
@ -188,12 +188,12 @@ class PBSIE(InfoExtractor):
|
||||||
# Player
|
# Player
|
||||||
(?:video|player)\.pbs\.org/(?:widget/)?partnerplayer/(?P<player_id>[^/]+) |
|
(?:video|player)\.pbs\.org/(?:widget/)?partnerplayer/(?P<player_id>[^/]+) |
|
||||||
# Direct video URL, or article with embedded player
|
# Direct video URL, or article with embedded player
|
||||||
(?:%s)/(?:
|
(?:{})/(?:
|
||||||
(?:(?:vir|port)alplayer|video)/(?P<id>[0-9]+)(?:[?/]|$) |
|
(?:(?:vir|port)alplayer|video)/(?P<id>[0-9]+)(?:[?/]|$) |
|
||||||
(?:[^/]+/){1,5}(?P<presumptive_id>[^/]+?)(?:\.html)?/?(?:$|[?\#])
|
(?:[^/]+/){{1,5}}(?P<presumptive_id>[^/]+?)(?:\.html)?/?(?:$|[?\#])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
''' % '|'.join(next(zip(*_STATIONS)))
|
'''.format('|'.join(next(zip(*_STATIONS))))
|
||||||
|
|
||||||
_GEO_COUNTRIES = ['US']
|
_GEO_COUNTRIES = ['US']
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue