Skip to content
Snippets Groups Projects
Unverified Commit 8b688881 authored by u-spec-png's avatar u-spec-png Committed by GitHub
Browse files

[instagram] Expand valid URL (#1977)

Closes #1925

Authored by: u-spec-png
parent 13debc86
No related branches found
Tags 1639276434
No related merge requests found
......@@ -170,7 +170,7 @@ def _real_extract(self, url):
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 = [{
'url': 'https://instagram.com/p/aye83DjauH/?foo=bar#abc',
'md5': '0d2da106a9d2631273e192b372806516',
......@@ -266,6 +266,9 @@ class InstagramIE(InstagramBaseIE):
}, {
'url': 'https://www.instagram.com/reel/CDUMkliABpa/',
'only_matching': True,
}, {
'url': 'https://www.instagram.com/marvelskies.fc/reel/CWqAgUZgCku/',
'only_matching': True,
}]
@staticmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment