Handle instagram.com/share/ URLs
- added Sec-Fetch* headers for proper redirect - fixed formatting - restore 'guide' test - integrate in PostExtractor code
This commit is contained in:
committed by
Mike Fährmann
parent
2798fb8a80
commit
e6f4dcf90f
@@ -277,4 +277,18 @@ __tests__ = (
|
||||
"#class" : instagram.InstagramPostExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.instagram.com/share/p/BACiUUUYQV",
|
||||
"#category": ("", "instagram", "post"),
|
||||
"#class" : instagram.InstagramPostExtractor,
|
||||
"shortcode" : "C6q-XdvsU5v",
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.instagram.com/share/reel/BARSSL4rTu",
|
||||
"#category": ("", "instagram", "post"),
|
||||
"#class" : instagram.InstagramPostExtractor,
|
||||
"shortcode" : "DHbVbT4Jx0c",
|
||||
}
|
||||
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user