[instagram] relax test pattern
This commit is contained in:
@@ -115,8 +115,7 @@ class InstagramImageExtractor(InstagramExtractor):
|
||||
test = [
|
||||
# GraphImage
|
||||
("https://www.instagram.com/p/BqvsDleB3lV/", {
|
||||
"pattern": r"https://[^/.]+\.cdninstagram\.com/vp"
|
||||
r"/5043db33a998e32fb5713411be1d466e"
|
||||
"pattern": r"https://[^/.]+\.cdninstagram\.com/vp/[0-9a-f]+"
|
||||
r"/5C8DAF92/t51.2885-15/e35"
|
||||
r"/44877605_725955034447492_3123079845831750529_n.jpg",
|
||||
"keyword": {
|
||||
@@ -133,8 +132,7 @@ class InstagramImageExtractor(InstagramExtractor):
|
||||
|
||||
# GraphSidecar
|
||||
("https://www.instagram.com/p/BoHk1haB5tM/", {
|
||||
"pattern": r"https://[^/.]+\.cdninstagram\.com/vp"
|
||||
"/fd70fa8d5775ce1c297a95d3800f4b7c"
|
||||
"pattern": r"https://[^/.]+\.cdninstagram\.com/vp/[0-9a-f]+"
|
||||
"/5C935FCB/t51.2885-15/e35"
|
||||
"/40758827_2138611023072230_4073975203662780931_n.jpg",
|
||||
"keyword": {
|
||||
|
||||
Reference in New Issue
Block a user