mirror of
https://github.com/mikf/gallery-dl.git
synced 2025-01-31 19:51:34 +01:00
[pinterest] match 'pinterest.co.uk' URLs (fixes #914)
This commit is contained in:
parent
901a897e6f
commit
26a967cbd4
@ -14,7 +14,7 @@ import itertools
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
|
|
||||||
BASE_PATTERN = r"(?:https?://)?(?:\w+\.)?pinterest\.\w+"
|
BASE_PATTERN = r"(?:https?://)?(?:\w+\.)?pinterest\.[\w.]+"
|
||||||
|
|
||||||
|
|
||||||
class PinterestExtractor(Extractor):
|
class PinterestExtractor(Extractor):
|
||||||
@ -101,6 +101,8 @@ class PinterestBoardExtractor(PinterestExtractor):
|
|||||||
("https://www.pinterest.com/g1952848/test/", {
|
("https://www.pinterest.com/g1952848/test/", {
|
||||||
"exception": exception.GalleryDLException,
|
"exception": exception.GalleryDLException,
|
||||||
}),
|
}),
|
||||||
|
# .co.uk TLD (#914)
|
||||||
|
("https://www.pinterest.co.uk/hextra7519/based-animals/"),
|
||||||
)
|
)
|
||||||
|
|
||||||
def __init__(self, match):
|
def __init__(self, match):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user