[cyberdrop] fix extraction
This commit is contained in:
@@ -12,7 +12,7 @@ __tests__ = (
|
||||
"#url" : "https://cyberdrop.me/a/8uE0wQiK",
|
||||
"#category": ("lolisafe", "cyberdrop", "album"),
|
||||
"#class" : cyberdrop.CyberdropAlbumExtractor,
|
||||
"#pattern" : r"https://sun\.cyberdrop\.ch/api/fc/yyK9y8xpQK5dP\?.+",
|
||||
"#pattern" : r"https://\w+\.cyberdrop\.ch/api/file/d/yyK9y8xpQK5dP\?token=ey.+",
|
||||
"#sha1_content": "0c8768055e4e20e7c7259608b67799171b691140",
|
||||
|
||||
"album_id" : "8uE0wQiK",
|
||||
@@ -28,7 +28,7 @@ __tests__ = (
|
||||
"num" : 1,
|
||||
"size" : 182,
|
||||
"slug" : "yyK9y8xpQK5dP",
|
||||
"thumbnailUrl": str,
|
||||
"thumbnail_url": str,
|
||||
"type" : "image/png",
|
||||
"url" : str,
|
||||
},
|
||||
@@ -37,7 +37,7 @@ __tests__ = (
|
||||
"#url" : "https://cyberdrop.me/a/HriMgbuf",
|
||||
"#category": ("lolisafe", "cyberdrop", "album"),
|
||||
"#class" : cyberdrop.CyberdropAlbumExtractor,
|
||||
"#pattern" : r"https://sun\.cyberdrop\.ch/api/fc/\w+\?.+",
|
||||
"#pattern" : r"https://\w+\.cyberdrop\.ch/api/file/d/\w+\?token=ey.+",
|
||||
"#count" : 3,
|
||||
|
||||
"album_id" : "HriMgbuf",
|
||||
@@ -53,7 +53,7 @@ __tests__ = (
|
||||
"num" : range(1, 3),
|
||||
"size" : int,
|
||||
"slug" : str,
|
||||
"thumbnailUrl": str,
|
||||
"thumbnail_url": str,
|
||||
"type" : r"re:image/gif|video/webm",
|
||||
"url" : str,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user