Skip to content

Commit

Permalink
Update dropbox links
Browse files Browse the repository at this point in the history
Since dropbox updated their share links around July this year, I had to make an update it to keep using this extractor. 

This new regex handles old and new link formats.
  • Loading branch information
nathantouze committed Aug 21, 2023
1 parent 7cccab7 commit e43c809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/dropbox.py
Expand Up @@ -12,7 +12,7 @@


class DropboxIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?dropbox[.]com/sh?/(?P<id>[a-zA-Z0-9]{15})/.*'
_VALID_URL = r'https?://(?:www\.)?dropbox\.com/(?:scl/fi/|e/scl/fi/|s/|sh/)(?P<id>[^/]+)/.*'
_TESTS = [
{
'url': 'https://www.dropbox.com/s/nelirfsxnmcfbfh/youtube-dl%20test%20video%20%27%C3%A4%22BaW_jenozKc.mp4?dl=0',
Expand Down

0 comments on commit e43c809

Please sign in to comment.