Skip to content

Commit

Permalink
[skeb] fix extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Oct 30, 2022
1 parent 0b7c519 commit c1fd8d1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions gallery_dl/extractor/skeb.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ def _get_post_data(self, user_name, post_num):
"body" : resp["body"],
"source_body" : resp["source_body"],
"translated_body" : resp["translated"],
"completed_at" : resp["completed_at"],
"date" : text.parse_datetime(
resp["completed_at"], "%Y-%m-%dT%H:%M:%S.%fZ"),
"nsfw" : resp["nsfw"],
"anonymous" : resp["anonymous"],
"tags" : resp["tag_list"],
Expand Down Expand Up @@ -160,7 +157,6 @@ class SkebPostExtractor(SkebExtractor):
"name": str,
"screen_name": "minato_ragi",
},
"completed_at": "2022-02-27T14:03:45.442Z",
"content_category": "preview",
"creator": {
"avatar_url": "https://pbs.twimg.com/profile_images"
Expand All @@ -171,7 +167,6 @@ class SkebPostExtractor(SkebExtractor):
"name": "イチノセ奏",
"screen_name": "kanade_cocotte",
},
"date": "dt:2022-02-27 14:03:45",
"file_id": int,
"file_url": str,
"genre": "art",
Expand Down Expand Up @@ -212,7 +207,7 @@ class SkebUserExtractor(SkebExtractor):
"pattern": r"https://skeb\.imgix\.net/uploads/origins/[\w-]+"
r"\?bg=%23fff&auto=format&txtfont=bold&txtshad=70"
r"&txtclr=BFFFFFFF&txtalign=middle%2Ccenter&txtsize=150"
r"&txt=SAMPLE&w=800&s=\w+",
r"&txt=SAMPLE&fm=webp&w=800&s=\w+",
"range": "1-5",
})

Expand Down

0 comments on commit c1fd8d1

Please sign in to comment.