1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-29 03:34:32 +01:00

Convert video_id from int to string

This commit is contained in:
Lyz 2019-10-25 18:03:12 +02:00
parent 61c6d221e9
commit 9e4764faac
No known key found for this signature in database
GPG Key ID: 6C7D7C1612CDE02F

View File

@ -465,7 +465,7 @@ class BandcampUserIE(InfoExtractor):
entries.append(self.url_result( entries.append(self.url_result(
compat_urlparse.urljoin(url, element['page_url']), compat_urlparse.urljoin(url, element['page_url']),
ie=ie, ie=ie,
video_id=element['id'], video_id=str(element['id']),
video_title=element['title'])) video_title=element['title']))
except RegexNotFoundError: except RegexNotFoundError:
# Bandcamp user type 2 page # Bandcamp user type 2 page
@ -482,6 +482,7 @@ class BandcampUserIE(InfoExtractor):
compat_urlparse.urljoin(url, element), compat_urlparse.urljoin(url, element),
ie=ie, ie=ie,
video_title=element)) video_title=element))
return { return {
'_type': 'playlist', '_type': 'playlist',
'id': uploader, 'id': uploader,