summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/khinsider.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-10-03 18:31:58 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-10-03 18:31:58 -0400
commitb8758ecd073910ce3220b2e68399147b425c37b8 (patch)
treed6aee20213508c8f425cbacb3d714367eca904c5 /gallery_dl/extractor/khinsider.py
parente2f67519f8c1750a71aab3dc56b8345fff21bac5 (diff)
New upstream version 1.26.0.upstream/1.26.0
Diffstat (limited to 'gallery_dl/extractor/khinsider.py')
-rw-r--r--gallery_dl/extractor/khinsider.py25
1 files changed, 4 insertions, 21 deletions
diff --git a/gallery_dl/extractor/khinsider.py b/gallery_dl/extractor/khinsider.py
index 0c3b002..d0c9c30 100644
--- a/gallery_dl/extractor/khinsider.py
+++ b/gallery_dl/extractor/khinsider.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Copyright 2016-2022 Mike Fährmann
+# Copyright 2016-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
@@ -16,30 +16,13 @@ class KhinsiderSoundtrackExtractor(AsynchronousMixin, Extractor):
"""Extractor for soundtracks from khinsider.com"""
category = "khinsider"
subcategory = "soundtrack"
+ root = "https://downloads.khinsider.com"
directory_fmt = ("{category}", "{album[name]}")
archive_fmt = "{filename}.{extension}"
pattern = (r"(?:https?://)?downloads\.khinsider\.com"
r"/game-soundtracks/album/([^/?#]+)")
- root = "https://downloads.khinsider.com"
- test = (("https://downloads.khinsider.com"
- "/game-soundtracks/album/horizon-riders-wii"), {
- "pattern": r"https?://vgm(site|downloads)\.com"
- r"/soundtracks/horizon-riders-wii/[^/]+"
- r"/Horizon%20Riders%20Wii%20-%20Full%20Soundtrack\.mp3",
- "keyword": {
- "album": {
- "count": 1,
- "date": "Sep 18th, 2016",
- "name": "Horizon Riders",
- "platform": "Wii",
- "size": 26214400,
- "type": "Gamerip",
- },
- "extension": "mp3",
- "filename": "Horizon Riders Wii - Full Soundtrack",
- },
- "count": 1,
- })
+ example = ("https://downloads.khinsider.com"
+ "/game-soundtracks/album/TITLE")
def __init__(self, match):
Extractor.__init__(self, match)