From 143723944033d7a6593d57bd1cf6ae97713b6ce7 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 30 Nov 2020 21:12:25 -0500 Subject: New upstream version 1.15.4. --- CHANGELOG.md | 9 +++ PKG-INFO | 8 +-- README.rst | 6 +- data/man/gallery-dl.1 | 2 +- data/man/gallery-dl.conf.5 | 2 +- gallery_dl.egg-info/PKG-INFO | 8 +-- gallery_dl/extractor/2chan.py | 9 +-- gallery_dl/extractor/hentainexus.py | 37 ++++++++++- gallery_dl/extractor/mangadex.py | 128 +++++++++++++++++++----------------- gallery_dl/extractor/mangapanda.py | 10 +-- gallery_dl/extractor/mangoxo.py | 9 ++- gallery_dl/extractor/reddit.py | 19 ++++-- gallery_dl/version.py | 2 +- test/test_results.py | 1 - 14 files changed, 158 insertions(+), 92 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59ee36a..e08f243 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 1.15.4 - 2020-11-27 +### Fixes +- [2chan] skip external links +- [hentainexus] fix extraction ([#1125](https://github.com/mikf/gallery-dl/issues/1125)) +- [mangadex] switch to API v2 ([#1129](https://github.com/mikf/gallery-dl/issues/1129)) +- [mangapanda] use http:// +- [mangoxo] fix extraction +- [reddit] skip invalid gallery items ([#1127](https://github.com/mikf/gallery-dl/issues/1127)) + ## 1.15.3 - 2020-11-13 ### Additions - [sankakucomplex] extract videos and embeds ([#308](https://github.com/mikf/gallery-dl/issues/308)) diff --git a/PKG-INFO b/PKG-INFO index da06a1d..db9cba2 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: gallery_dl -Version: 1.15.3 +Version: 1.15.4 Summary: Command-line program to download image-galleries and -collections from several image hosting sites Home-page: https://github.com/mikf/gallery-dl Author: Mike Fährmann @@ -94,8 +94,8 @@ Description: ========== put it into your `PATH `__, and run it inside a command prompt (like ``cmd.exe``). - - `Windows `__ - - `Linux `__ + - `Windows `__ + - `Linux `__ These executables include a Python 3.8 interpreter and all required Python packages. @@ -319,7 +319,7 @@ Description: ========== .. _gallery-dl-example.conf: https://github.com/mikf/gallery-dl/blob/master/docs/gallery-dl-example.conf .. _configuration.rst: https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst .. _Supported Sites: https://github.com/mikf/gallery-dl/blob/master/docs/supportedsites.rst - .. _stable: https://github.com/mikf/gallery-dl/archive/v1.15.3.tar.gz + .. _stable: https://github.com/mikf/gallery-dl/archive/v1.15.4.tar.gz .. _dev: https://github.com/mikf/gallery-dl/archive/master.tar.gz .. _Python: https://www.python.org/downloads/ diff --git a/README.rst b/README.rst index ccc745a..1cde544 100644 --- a/README.rst +++ b/README.rst @@ -83,8 +83,8 @@ Download a standalone executable file, put it into your `PATH `__, and run it inside a command prompt (like ``cmd.exe``). -- `Windows `__ -- `Linux `__ +- `Windows `__ +- `Linux `__ These executables include a Python 3.8 interpreter and all required Python packages. @@ -308,7 +308,7 @@ access to *gallery-dl*. Authorize it and you will be shown one or more .. _gallery-dl-example.conf: https://github.com/mikf/gallery-dl/blob/master/docs/gallery-dl-example.conf .. _configuration.rst: https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst .. _Supported Sites: https://github.com/mikf/gallery-dl/blob/master/docs/supportedsites.rst -.. _stable: https://github.com/mikf/gallery-dl/archive/v1.15.3.tar.gz +.. _stable: https://github.com/mikf/gallery-dl/archive/v1.15.4.tar.gz .. _dev: https://github.com/mikf/gallery-dl/archive/master.tar.gz .. _Python: https://www.python.org/downloads/ diff --git a/data/man/gallery-dl.1 b/data/man/gallery-dl.1 index a913c47..114502a 100644 --- a/data/man/gallery-dl.1 +++ b/data/man/gallery-dl.1 @@ -1,4 +1,4 @@ -.TH "GALLERY-DL" "1" "2020-11-13" "1.15.3" "gallery-dl Manual" +.TH "GALLERY-DL" "1" "2020-11-27" "1.15.4" "gallery-dl Manual" .\" disable hyphenation .nh diff --git a/data/man/gallery-dl.conf.5 b/data/man/gallery-dl.conf.5 index 05bd92e..34ac377 100644 --- a/data/man/gallery-dl.conf.5 +++ b/data/man/gallery-dl.conf.5 @@ -1,4 +1,4 @@ -.TH "GALLERY-DL.CONF" "5" "2020-11-13" "1.15.3" "gallery-dl Manual" +.TH "GALLERY-DL.CONF" "5" "2020-11-27" "1.15.4" "gallery-dl Manual" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) diff --git a/gallery_dl.egg-info/PKG-INFO b/gallery_dl.egg-info/PKG-INFO index 70c079d..d22ca6b 100644 --- a/gallery_dl.egg-info/PKG-INFO +++ b/gallery_dl.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: gallery-dl -Version: 1.15.3 +Version: 1.15.4 Summary: Command-line program to download image-galleries and -collections from several image hosting sites Home-page: https://github.com/mikf/gallery-dl Author: Mike Fährmann @@ -94,8 +94,8 @@ Description: ========== put it into your `PATH `__, and run it inside a command prompt (like ``cmd.exe``). - - `Windows `__ - - `Linux `__ + - `Windows `__ + - `Linux `__ These executables include a Python 3.8 interpreter and all required Python packages. @@ -319,7 +319,7 @@ Description: ========== .. _gallery-dl-example.conf: https://github.com/mikf/gallery-dl/blob/master/docs/gallery-dl-example.conf .. _configuration.rst: https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst .. _Supported Sites: https://github.com/mikf/gallery-dl/blob/master/docs/supportedsites.rst - .. _stable: https://github.com/mikf/gallery-dl/archive/v1.15.3.tar.gz + .. _stable: https://github.com/mikf/gallery-dl/archive/v1.15.4.tar.gz .. _dev: https://github.com/mikf/gallery-dl/archive/master.tar.gz .. _Python: https://www.python.org/downloads/ diff --git a/gallery_dl/extractor/2chan.py b/gallery_dl/extractor/2chan.py index 51e461e..9813f2b 100644 --- a/gallery_dl/extractor/2chan.py +++ b/gallery_dl/extractor/2chan.py @@ -21,9 +21,9 @@ class _2chanThreadExtractor(Extractor): archive_fmt = "{board}_{thread}_{tim}" url_fmt = "https://{server}.2chan.net/{board}/src/{filename}" pattern = r"(?:https?://)?([^.]+)\.2chan\.net/([^/]+)/res/(\d+)" - test = ("http://dec.2chan.net/70/res/11048.htm", { - "url": "2ecf919139bd5d915930530b3576d67c388a2a49", - "keyword": "8def4ec98a89fd4fff8bbcbae603604dcb4a3bb9", + test = ("http://dec.2chan.net/70/res/4752.htm", { + "url": "1c2d2ce8aea0fc71d94735cfc30009d628f33548", + "keyword": "f508d6841ea2cb19ed799aac9dc580263ca50651", }) def __init__(self, match): @@ -70,7 +70,8 @@ class _2chanThreadExtractor(Extractor): data = self._extract_post(post) if data["name"]: data["name"] = data["name"].strip() - if '