diff --git a/CHANGELOG.md b/CHANGELOG.md index f54ac46c..da67c558 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +## Unreleased + ## 1.13.4 - 2020-04-12 ### Additions - [aryion] add `gallery` and `post` extractors ([#390](https://github.com/mikf/gallery-dl/issues/390), [#673](https://github.com/mikf/gallery-dl/issues/673)) diff --git a/gallery_dl/extractor/patreon.py b/gallery_dl/extractor/patreon.py index 0d51df21..a44c8e70 100644 --- a/gallery_dl/extractor/patreon.py +++ b/gallery_dl/extractor/patreon.py @@ -47,7 +47,7 @@ class PatreonExtractor(Extractor): self._attachments(post), self._content(post), ): - fhash = url.rsplit("/", 2)[1] + fhash = url.split("/")[9].partition("?")[0] if fhash not in hashes: hashes.add(fhash) post["hash"] = fhash diff --git a/gallery_dl/version.py b/gallery_dl/version.py index 79055008..467a1bf7 100644 --- a/gallery_dl/version.py +++ b/gallery_dl/version.py @@ -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.13.4" +__version__ = "1.13.5-dev"