mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 20:22:36 +01:00
[pinterest] update not-found redirects
This commit is contained in:
parent
7442d2940c
commit
a86f2bfc80
@ -1,5 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
## Unreleased
|
||||
|
||||
## 1.5.0 - 2018-08-03
|
||||
- Added support for:
|
||||
- `behance` - https://www.behance.net/
|
||||
|
@ -113,6 +113,7 @@ class PinterestPinitExtractor(PinterestExtractor):
|
||||
response = self.request(self.url, method="HEAD", allow_redirects=False)
|
||||
location = response.headers.get("Location")
|
||||
if not location or location in ("https://api.pinterest.com/None",
|
||||
"https://pin.it/None",
|
||||
"https://www.pinterest.com"):
|
||||
raise exception.NotFoundError("pin")
|
||||
yield Message.Queue, location, {}
|
||||
|
@ -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.5.0"
|
||||
__version__ = "1.5.1-dev"
|
||||
|
@ -24,7 +24,6 @@ TRAVIS_SKIP = {
|
||||
# temporary issues, etc.
|
||||
BROKEN = {
|
||||
"imagefap",
|
||||
"pinterest",
|
||||
"subapics",
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user