[instagram] support '/share/SHORTCODE' URLs (#8340)

i.e. "bare" /share/ links
This commit is contained in:
Mike Fährmann
2025-10-03 22:26:45 +02:00
parent 4d9b30bcb0
commit c609a3181b
3 changed files with 15 additions and 5 deletions

View File

@@ -288,6 +288,13 @@ __tests__ = (
"#class" : instagram.InstagramPostExtractor,
},
{
"#url" : "https://www.instagram.com/share/BACiUUUYQV",
"#category": ("", "instagram", "post"),
"#class" : instagram.InstagramPostExtractor,
"shortcode" : "C6q-XdvsU5v",
},
{
"#url" : "https://www.instagram.com/share/p/BACiUUUYQV",
"#category": ("", "instagram", "post"),