mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 12:12:34 +01:00
[pixiv] change 'sanity_level' debug message to a warning (#5180)
This commit is contained in:
parent
bffadf35b7
commit
c9d3b5e5d9
@ -104,8 +104,9 @@ class PixivExtractor(Extractor):
|
||||
elif work["page_count"] == 1:
|
||||
url = meta_single_page["original_image_url"]
|
||||
if url == url_sanity:
|
||||
self.log.debug("Skipping 'sanity_level' warning (%s)",
|
||||
work["id"])
|
||||
self.log.warning(
|
||||
"Unable to download work %s ('sanity_level' warning)",
|
||||
work["id"])
|
||||
continue
|
||||
work["date_url"] = self._date_from_url(url)
|
||||
yield Message.Url, url, text.nameext_from_url(url, work)
|
||||
|
@ -163,6 +163,14 @@ __tests__ = (
|
||||
"#count" : ">= 10",
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.pixiv.net/artworks/966412",
|
||||
"#comment" : "limit_sanity_level_360.png (#4327, #5180)",
|
||||
"#category": ("", "pixiv", "work"),
|
||||
"#class" : pixiv.PixivWorkExtractor,
|
||||
"#count" : 0,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.pixiv.net/en/artworks/966412",
|
||||
"#category": ("", "pixiv", "work"),
|
||||
|
Loading…
Reference in New Issue
Block a user