disable unique archive id checks for some tests

- same image twice in a livedoor blog post
- unreliable results for related pinterest items
This commit is contained in:
Mike Fährmann
2019-11-10 17:03:38 +01:00
parent 67e54ed8ea
commit da6789b2b0
5 changed files with 16 additions and 8 deletions

View File

@@ -89,6 +89,7 @@ class LivedoorBlogExtractor(LivedoorExtractor):
("http://blog.livedoor.jp/zatsu_ke/", {
"range": "1-50",
"count": 50,
"archive": False,
"pattern": r"https?://livedoor.blogimg.jp/\w+/imgs/\w/\w/\w+\.\w+",
"keyword": {
"post": {

View File

@@ -119,8 +119,9 @@ class PinterestRelatedPinExtractor(PinterestPinExtractor):
directory_fmt = ("{category}", "related {original_pin[id]}")
pattern = BASE_PATTERN + r"/pin/([^/?#&]+).*#related$"
test = ("https://www.pinterest.com/pin/858146903966145189/#related", {
"range": "31-50",
"count": 20,
"range": "31-70",
"count": 40,
"archive": False,
})
def metadata(self):
@@ -138,8 +139,9 @@ class PinterestRelatedBoardExtractor(PinterestBoardExtractor):
"{board[name]}", "related")
pattern = BASE_PATTERN + r"/(?!pin/)([^/?#&]+)/([^/?#&]+).*#related$"
test = ("https://www.pinterest.com/g1952849/test-/#related", {
"range": "31-50",
"count": 20,
"range": "31-70",
"count": 40,
"archive": False,
})
def pins(self):

View File

@@ -6,4 +6,4 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "1.11.1"
__version__ = "1.11.2-dev"