1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00
gallery-dl/test/results/soundgasm.py
2023-09-10 14:45:01 +02:00

48 lines
1.8 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- coding: utf-8 -*-
# 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.
from gallery_dl.extractor import soundgasm
__tests__ = (
{
"#url" : "https://soundgasm.net/u/ClassWarAndPuppies2/687-Otto-von-Toontown-12822",
"#category": ("", "soundgasm", "audio"),
"#class" : soundgasm.SoundgasmAudioExtractor,
"#pattern" : r"https://media\.soundgasm\.net/sounds/26cb2b23b2f2c6094b40ee3a9167271e274b570a\.m4a",
"description": "We celebrate todays important prisoner swap, and finally bring the 2022 mid-terms to a close with Raphael Warnocks defeat of Herschel Walker in Georgia. Then, we take a look at the Qanon-addled attempt to overthrow the German government and install Heinrich XIII Prince of Reuss as kaiser.",
"extension" : "m4a",
"filename" : "26cb2b23b2f2c6094b40ee3a9167271e274b570a",
"slug" : "687-Otto-von-Toontown-12822",
"title" : "687 - Otto von Toontown (12/8/22)",
"user" : "ClassWarAndPuppies2",
},
{
"#url" : "https://www.soundgasm.net/user/ClassWarAndPuppies2/687-Otto-von-Toontown-12822",
"#category": ("", "soundgasm", "audio"),
"#class" : soundgasm.SoundgasmAudioExtractor,
},
{
"#url" : "https://soundgasm.net/u/fierce-aphrodite",
"#category": ("", "soundgasm", "user"),
"#class" : soundgasm.SoundgasmUserExtractor,
"#pattern" : r"https://media\.soundgasm\.net/sounds/[0-9a-f]{40}\.m4a",
"#count" : ">= 15",
"description": str,
"extension" : "m4a",
"filename" : r"re:^[0-9a-f]{40}$",
"slug" : str,
"title" : str,
"url" : str,
"user" : "fierce-aphrodite",
},
)