From 9e4764faac7ec232d3ac7f2bc968d17fce348060 Mon Sep 17 00:00:00 2001 From: Lyz Date: Fri, 25 Oct 2019 18:03:12 +0200 Subject: [PATCH] Convert video_id from int to string --- youtube_dl/extractor/bandcamp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py index ba4440c57..ddbd1179b 100644 --- a/youtube_dl/extractor/bandcamp.py +++ b/youtube_dl/extractor/bandcamp.py @@ -465,7 +465,7 @@ class BandcampUserIE(InfoExtractor): entries.append(self.url_result( compat_urlparse.urljoin(url, element['page_url']), ie=ie, - video_id=element['id'], + video_id=str(element['id']), video_title=element['title'])) except RegexNotFoundError: # Bandcamp user type 2 page @@ -482,6 +482,7 @@ class BandcampUserIE(InfoExtractor): compat_urlparse.urljoin(url, element), ie=ie, video_title=element)) + return { '_type': 'playlist', 'id': uploader,