mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 12:12:34 +01:00
[rule34us] fix extraction (#6289)
This commit is contained in:
parent
02ca1ac602
commit
b64bede9ae
@ -36,8 +36,10 @@ class Rule34usExtractor(BooruExtractor):
|
|||||||
"score" : text.extract(extr('Score: ', '> - <'), ">", "<")[0],
|
"score" : text.extract(extr('Score: ', '> - <'), ">", "<")[0],
|
||||||
"width" : extr('Size: ', 'w'),
|
"width" : extr('Size: ', 'w'),
|
||||||
"height" : extr(' x ', 'h'),
|
"height" : extr(' x ', 'h'),
|
||||||
|
"" : extr('</script>', '</div></center>'),
|
||||||
"file_url": extr(' src="', '"'),
|
"file_url": extr(' src="', '"'),
|
||||||
}
|
}
|
||||||
|
del post[""]
|
||||||
|
|
||||||
url = post["file_url"]
|
url = post["file_url"]
|
||||||
if "//video-cdn1." in url:
|
if "//video-cdn1." in url:
|
||||||
|
Loading…
Reference in New Issue
Block a user