mirror of https://github.com/yt-dlp/yt-dlp.git
[instagram] Expand valid URL (#1977)
Closes #1925 Authored by: u-spec-png
This commit is contained in:
parent
13debc86e7
commit
8b688881ba
|
@ -170,7 +170,7 @@ class InstagramIOSIE(InfoExtractor):
|
||||||
|
|
||||||
|
|
||||||
class InstagramIE(InstagramBaseIE):
|
class InstagramIE(InstagramBaseIE):
|
||||||
_VALID_URL = r'(?P<url>https?://(?:www\.)?instagram\.com/(?:p|tv|reel)/(?P<id>[^/?#&]+))'
|
_VALID_URL = r'(?P<url>https?://(?:www\.)?instagram\.com(?:/[^/]+)?/(?:p|tv|reel)/(?P<id>[^/?#&]+))'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://instagram.com/p/aye83DjauH/?foo=bar#abc',
|
'url': 'https://instagram.com/p/aye83DjauH/?foo=bar#abc',
|
||||||
'md5': '0d2da106a9d2631273e192b372806516',
|
'md5': '0d2da106a9d2631273e192b372806516',
|
||||||
|
@ -266,6 +266,9 @@ class InstagramIE(InstagramBaseIE):
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://www.instagram.com/reel/CDUMkliABpa/',
|
'url': 'https://www.instagram.com/reel/CDUMkliABpa/',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.instagram.com/marvelskies.fc/reel/CWqAgUZgCku/',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in New Issue