1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-25 18:04:33 +01:00

Fix merge request changes

This commit is contained in:
Lyz 2020-04-07 21:27:53 +02:00
parent 5cdb5b2842
commit 6541969d25
No known key found for this signature in database
GPG Key ID: 6C7D7C1612CDE02F

View File

@ -1,6 +1,5 @@
from __future__ import unicode_literals from __future__ import unicode_literals
import json
import random import random
import re import re
import time import time
@ -16,7 +15,6 @@ from ..utils import (
int_or_none, int_or_none,
KNOWN_EXTENSIONS, KNOWN_EXTENSIONS,
parse_filesize, parse_filesize,
RegexNotFoundError,
str_or_none, str_or_none,
try_get, try_get,
unescapeHTML, unescapeHTML,
@ -338,6 +336,7 @@ class BandcampWeeklyIE(InfoExtractor):
'series': 'Bandcamp Weekly', 'series': 'Bandcamp Weekly',
'episode': 'Magic Moments', 'episode': 'Magic Moments',
'episode_number': 208, 'episode_number': 208,
'episode_id': '224',
} }
}, { }, {
'url': 'https://bandcamp.com/?blah/blah@&show=228', 'url': 'https://bandcamp.com/?blah/blah@&show=228',
@ -404,6 +403,7 @@ class BandcampWeeklyIE(InfoExtractor):
'release_date': unified_strdate(show.get('published_date')), 'release_date': unified_strdate(show.get('published_date')),
'series': 'Bandcamp Weekly', 'series': 'Bandcamp Weekly',
'episode': show.get('subtitle'), 'episode': show.get('subtitle'),
'episode_id': compat_str(video_id),
'episode_number': episode_number, 'episode_number': episode_number,
'formats': formats 'formats': formats
} }