mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 20:22:36 +01:00
[hentaifoundry] get artist name from webpage
This commit is contained in:
parent
1aeb60d997
commit
efdc299547
@ -137,10 +137,11 @@ class HentaifoundryImageExtractor(Extractor):
|
||||
if response.status_code == 404:
|
||||
raise exception.NotFoundError("image")
|
||||
page = response.text
|
||||
title, pos = text.extract(page, 'Pictures</a> » <span>', '<')
|
||||
url , pos = text.extract(page, '//pictures.hentai-foundry.com', '"', pos)
|
||||
artist, pos = text.extract(page, '<a href="/pictures/user/', '"')
|
||||
title , pos = text.extract(page, 'Pictures</a> » <span>', '<', pos)
|
||||
url , pos = text.extract(page, '//pictures.hentai-foundry.com', '"', pos)
|
||||
data = {
|
||||
"artist": self.artist,
|
||||
"artist": artist,
|
||||
"index": self.index,
|
||||
"title": text.unescape(title),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user