Porównaj commity

...

3 Commity

Autor SHA1 Wiadomość Data
Amir Y. Perehodnik 9eab2dc518
Merge 599cbe0544 into 315b354429 2024-04-14 04:05:41 +05:30
Amir Y. Perehodnik 599cbe0544
Update yt_dlp/extractor/instagram.py
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
2024-03-26 17:06:14 +02:00
Amir Y. Perehodnik c3bb3cfd57
Fix /reels/ in instagram extractor
Fixes /reels/ prefixed url not working in the instagram extractor
2024-03-26 16:59:00 +02:00
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -255,7 +255,7 @@ class InstagramIOSIE(InfoExtractor):
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|reels?)/(?P<id>[^/?#&]+))'
_EMBED_REGEX = [r'<iframe[^>]+src=(["\'])(?P<url>(?:https?:)?//(?:www\.)?instagram\.com/p/[^/]+/embed.*?)\1']
_TESTS = [{
'url': 'https://instagram.com/p/aye83DjauH/?foo=bar#abc',