add tests for specific datetime values

This commit is contained in:
Mike Fährmann
2020-02-23 16:48:30 +01:00
parent 80ecb99089
commit 4e361b3008
18 changed files with 45 additions and 40 deletions

View File

@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
# Copyright 2018-2019 Mike Fährmann
# Copyright 2018-2020 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
"""Extract images from https://wallhaven.cc/"""
"""Extractors for https://wallhaven.cc/"""
from .common import Extractor, Message
from .. import text
@@ -77,7 +77,7 @@ class WallhavenImageExtractor(WallhavenExtractor):
"group" : "Owner/Developer",
"username" : "AksumkA",
},
"date" : "type:datetime",
"date" : "dt:2014-08-31 06:17:19",
"wh_category": "anime",
"views" : int,
"favorites" : int,