summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/myportfolio.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-05-22 01:03:31 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-05-22 01:03:31 -0400
commitbff1d7a3fc1f184002ea6c6f77de675885bda3eb (patch)
treeeead9e450ed44ac46393ad6db6df8d2f5d7a2bf0 /gallery_dl/extractor/myportfolio.py
parent33d4eae5a6df8aaf6757f52ae25f514ff1211c62 (diff)
New upstream version 1.25.4.upstream/1.25.4
Diffstat (limited to 'gallery_dl/extractor/myportfolio.py')
-rw-r--r--gallery_dl/extractor/myportfolio.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gallery_dl/extractor/myportfolio.py b/gallery_dl/extractor/myportfolio.py
index 7d23518..fd16f24 100644
--- a/gallery_dl/extractor/myportfolio.py
+++ b/gallery_dl/extractor/myportfolio.py
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
-# Copyright 2018-2022 Mike Fährmann
+# Copyright 2018-2023 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
-"""Extract images from https://www.myportfolio.com/"""
+"""Extractors for https://www.myportfolio.com/"""
from .common import Extractor, Message
from .. import text, exception
@@ -21,7 +21,7 @@ class MyportfolioGalleryExtractor(Extractor):
archive_fmt = "{user}_{filename}"
pattern = (r"(?:myportfolio:(?:https?://)?([^/]+)|"
r"(?:https?://)?([\w-]+\.myportfolio\.com))"
- r"(/[^/?&#]+)?")
+ r"(/[^/?#]+)?")
test = (
("https://andrewling.myportfolio.com/volvo-xc-90-hybrid", {
"url": "acea0690c76db0e5cf267648cefd86e921bc3499",