[tests] update extractor results

This commit is contained in:
Mike Fährmann
2025-01-27 16:14:23 +01:00
parent b9567ae3e0
commit d110dfd2da
45 changed files with 152 additions and 148 deletions

View File

@@ -35,12 +35,12 @@ __tests__ = (
"#urls" : "https://rule34xyz.b-cdn.net/posts/3613/3613851/3613851.pic.jpg",
"#sha1_content": "4d7146db258fd5b1645a1a5fc01550d102f495e1",
"attributes": 1,
"attributes": 0,
"comments" : 0,
"created" : "2023-03-29T06:00:59.136819",
"date" : "dt:2023-03-29 06:00:59",
"created" : "2023-03-29T03:00:59.136819Z",
"date" : "dt:2023-03-29 03:00:59",
"duration" : None,
"error" : None,
"error" : {"", None},
"extension" : "jpg",
"file_url" : "https://rule34xyz.b-cdn.net/posts/3613/3613851/3613851.pic.jpg",
"filename" : "3613851.pic",
@@ -48,7 +48,7 @@ __tests__ = (
"format_id" : "2",
"id" : 3613851,
"likes" : range(3, 100),
"posted" : "2023-03-29T06:01:07.900161",
"posted" : "2023-03-29T03:01:07.900161Z",
"type" : 0,
"uploaderId": 9741,
"views" : range(200, 2000),
@@ -102,19 +102,7 @@ __tests__ = (
"friday night funkin mod",
],
"tags_general": list,
"uploader": {
"avatarUrl" : None,
"bookmarks" : 0,
"certified" : True,
"created" : "2021-04-03T08:29:51.373823",
"email" : "agent.rulexxx-uploader@z.com",
"id" : 9741,
"isSystemAccount": True,
"name" : "agent.rulexxx-uploader",
"role" : 2,
"uploadedPosts" : range(100000, 999999),
"webId" : None,
},
"uploaderId" : 9741,
},
{
@@ -132,11 +120,11 @@ __tests__ = (
"#url" : "https://rule34.xyz/post/3571567",
"#comment": "'format' option",
"#class" : rule34xyz.Rule34xyzPostExtractor,
"#options": {"format": "10,33"},
"#urls" : "https://rule34xyz.b-cdn.net/posts/3571/3571567/3571567.pic256avif.avif",
"#options": {"format": "10,4,5"},
"#urls" : "https://rule34xyz.b-cdn.net/posts/3571/3571567/3571567.pic256ex.jpg",
"format" : "pic256avif",
"format_id" : "33",
"format" : "pic256ex",
"format_id" : "4",
},
)