Skip to content

Commit

Permalink
[instagram] add reels support (closes #26234)
Browse files Browse the repository at this point in the history
  • Loading branch information
basicmaster committed Aug 9, 2020
1 parent a4ed50b commit 2f417a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion youtube_dl/extractor/instagram.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


class InstagramIE(InfoExtractor):
_VALID_URL = r'(?P<url>https?://(?:www\.)?instagram\.com/(?:p|tv)/(?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',
Expand Down Expand Up @@ -95,6 +95,9 @@ class InstagramIE(InfoExtractor):
}, {
'url': 'https://www.instagram.com/tv/aye83DjauH/',
'only_matching': True,
}, {
'url': 'https://www.instagram.com/reel/CDUMkliABpa/',
'only_matching': True,
}]

@staticmethod
Expand Down

0 comments on commit 2f417a2

Please sign in to comment.