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 348635d527
commit fbeb7859fe
No known key found for this signature in database
GPG Key ID: 6C7D7C1612CDE02F

View File

@ -1,6 +1,5 @@
from __future__ import unicode_literals
import json
import random
import re
import time
@ -16,7 +15,6 @@ from ..utils import (
int_or_none,
KNOWN_EXTENSIONS,
parse_filesize,
RegexNotFoundError,
str_or_none,
try_get,
unescapeHTML,
@ -40,7 +38,7 @@ class BandcampIE(InfoExtractor):
},
'_skip': 'There is a limit of 200 free downloads / month for the test song'
}, {
# free download
# free download
'url': 'http://benprunty.bandcamp.com/track/lanius-battle',
'md5': '853e35bf34aa1d6fe2615ae612564b36',
'info_dict': {
@ -338,6 +336,7 @@ class BandcampWeeklyIE(InfoExtractor):
'series': 'Bandcamp Weekly',
'episode': 'Magic Moments',
'episode_number': 208,
'episode_id': '224',
}
}, {
'url': 'https://bandcamp.com/?blah/blah@&show=228',
@ -404,6 +403,7 @@ class BandcampWeeklyIE(InfoExtractor):
'release_date': unified_strdate(show.get('published_date')),
'series': 'Bandcamp Weekly',
'episode': show.get('subtitle'),
'episode_id': compat_str(video_id),
'episode_number': episode_number,
'formats': formats
}