mirror of
https://github.com/soimort/you-get.git
synced 2025-03-13 03:17:44 +03:00
[instagram] strip query string from URL
This commit is contained in:
parent
db8f59c424
commit
9c237b2a44
@ -5,6 +5,7 @@ __all__ = ['instagram_download']
|
|||||||
from ..common import *
|
from ..common import *
|
||||||
|
|
||||||
def instagram_download(url, output_dir='.', merge=True, info_only=False, **kwargs):
|
def instagram_download(url, output_dir='.', merge=True, info_only=False, **kwargs):
|
||||||
|
url = r1(r'([^?]*)', url)
|
||||||
html = get_html(url)
|
html = get_html(url)
|
||||||
|
|
||||||
vid = r1(r'instagram.com/p/([^/]+)', url)
|
vid = r1(r'instagram.com/p/([^/]+)', url)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user