1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

Update bbc.py

flake8
This commit is contained in:
ajj8 2020-10-20 22:15:28 +01:00 committed by GitHub
parent 464ff372fd
commit 40caf37ad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1063,7 +1063,7 @@ class BBCIE(BBCCoUkIE):
# Morph based embed (e.g. http://www.bbc.co.uk/sport/live/olympics/36895975)
morph_payloads = re.findall(
r'Morph\.setPayload\([^,]+,\s*({.+?})\);', webpage)
r'Morph\.setPayload\([^,]+,\s*({.+?})\);', webpage)
if morph_payloads:
for morph_payload_text in morph_payloads:
morph_payload = self._parse_json(