Open MinePlayersPE opened 2 years ago
Constructing bandcamp's iframe URL via trackinfo
and current
data:
f'https://bandcamp.com/videoframe?video_id={track_info["video_id"]}&band_id={current["band_id"]}&from={track_info["video_source_type"]}'
(note that only video_id is actually needed) Extract the 23video iframe URL from the bandcamp iframe, and then you can pass it onto their extractor if the regex is changed
-_VALID_URL = r'https?://(?P<domain>[^.]+\.(?:twentythree\.net|23video\.com|filmweb\.no))/v\.ihtml/player\.html\?(?P<query>.*?\bphoto(?:_|%5f)id=(?P<id>\d+).*)'
+_VALID_URL = r'https?://(?P<domain>[^.]+\.(?:twentythree\.net|23video\.com|filmweb\.no))/(?:v|\d+)\.ihtml/player\.html\?(?P<query>.*?\bphoto(?:_|%5f)id=(?P<id>\d+).*)'
Would like to see this supported
Checklist
Region
Indonesia
Example URLs
https://gilvasunner.bandcamp.com/track/catch-that-ajit https://gilvasunner.bandcamp.com/video (list of videos)
Provide a description that is worded well enough to be understood
Bandcamp tracks may also be attached with a video alongside it's audio-only counterpart, but yt-dlp doesn't extract them. A user's video list is not recognized either
Note that apparently, videos are uploaded separately from the music itself so they may have completely different contents
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)[debug] Command-line config
) and insert it belowComplete Verbose Output