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