instruction
stringclasses
100 values
code
stringlengths
78
193k
response
stringlengths
259
170k
file
stringlengths
59
203
Add docstrings to improve collaboration
# -*- 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 .common import Extractor, Message from .. import text class FapachiPostExtractor(Extractor): categ...
--- +++ @@ -4,12 +4,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://fapachi.com/""" from .common import Extractor, Message from .. import text class FapachiPostExtractor(Extractor): + """Extractor for indivi...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/fapachi.py
Generate docstrings for this script
# -*- coding: utf-8 -*- # Copyright 2014-2026 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. from .common import Extractor, Message from . import gelbooru_v02 from ...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://gelbooru.com/""" from .common import Extractor, Message from . import gelbooru_v02 @@ -16,6 +17,7 @@ class GelbooruBase(): + """Base class for...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/gelbooru.py
Add clean documentation to messy code
# -*- coding: utf-8 -*- # Copyright 2019-2025 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. from .common import GalleryExtractor, Extractor, Message from .. import...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://fuskator.com/""" from .common import GalleryExtractor, Extractor, Message from .. import text @@ -13,6 +14,7 @@ class FuskatorGalleryExtractor(Ga...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/fuskator.py
Generate docstrings for script automation
# -*- coding: utf-8 -*- # Copyright 2017-2026 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. from .common import Extractor, Message from .. import text, oauth, util...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.flickr.com/""" from .common import Extractor, Message from .. import text, oauth, util @@ -14,6 +15,7 @@ class FlickrExtractor(Extractor): + ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/flickr.py
Improve my code by adding docstrings
# -*- 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 .common import Extractor, Message from .. import text, util BASE_PATTERN = r"(?:https?://)?(?:www\.)?fa...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.fanbox.cc/""" from .common import Extractor, Message from .. import text, util @@ -17,6 +18,7 @@ class FanboxExtractor(Extractor): + """Ba...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/fanbox.py
Add docstrings explaining edge cases
# -*- coding: utf-8 -*- # Copyright 2025 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. from .common import Extractor, Message from .. import text, util class Boo...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://booth.pm/""" from .common import Extractor, Message from .. import text, util class BoothExtractor(Extractor): + """Base class for booth ex...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/booth.py
Expand my code with proper documentation strings
# -*- coding: utf-8 -*- # Copyright 2021-2026 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. from .common import Extractor, Message from .. import text, util import...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.erome.com/""" from .common import Extractor, Message from .. import text, util @@ -62,6 +63,7 @@ class EromeAlbumExtractor(EromeExtractor): +...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/erome.py
Write clean docstrings for readability
# -*- 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 .common import Extractor, Message from .. import text BASE_PATTERN = r"(?:https?://)?(?:www\.)?girlswith...
--- +++ @@ -11,6 +11,7 @@ class GirlswithmuscleExtractor(Extractor): + """Base class for girlswithmuscle extractors""" category = "girlswithmuscle" root = "https://www.girlswithmuscle.com" directory_fmt = ("{category}", "{model}") @@ -57,6 +58,7 @@ class GirlswithmusclePostExtractor(Girlswithm...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/girlswithmuscle.py
Add documentation for all methods
# -*- 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 .common import Extractor, Message, Dispatch from .. import text, util BASE_PATTERN = r"(?:https?://)?(?...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.facebook.com/""" from .common import Extractor, Message, Dispatch from .. import text, util @@ -15,6 +16,7 @@ class FacebookExtractor(Extract...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/facebook.py
Please document this code using docstrings
# -*- coding: utf-8 -*- # Copyright 2019-2025 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. from .common import Extractor, Message from .. import text, util clas...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://comics.8muses.com/""" from .common import Extractor, Message from .. import text, util class _8musesAlbumExtractor(Extractor): + """Extract...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/8muses.py
Add minimal docstrings for each function
# -*- 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 .common import BaseExtractor, GalleryExtractor from .. import text class HentaicosplaysExtractor(BaseE...
--- +++ @@ -4,6 +4,8 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://hentai-cosplay-xxx.com/ +(also works for hentai-img-xxx.com and porn-image.com)""" from .common import BaseExtractor, GalleryExtractor from .. import...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/hentaicosplays.py
Add clean documentation to messy code
# -*- coding: utf-8 -*- # Copyright 2023-2026 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. from .common import BaseExtractor, Message from .. import text, util ...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for Chevereto galleries""" from .common import BaseExtractor, Message from .. import text, util class CheveretoExtractor(BaseExtractor): + """Base clas...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/chevereto.py
Help me document legacy Python code
# -*- coding: utf-8 -*- # Copyright 2025 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. from .common import Extractor, Message from .. import text BASE_PATTERN = r...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://fikfap.com/""" from .common import Extractor, Message from .. import text @@ -14,6 +15,7 @@ class FikfapExtractor(Extractor): + """Base class ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/fikfap.py
Write docstrings describing functionality
# -*- coding: utf-8 -*- # Copyright 2019-2025 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. from .common import GalleryExtractor from .. import text class Adulte...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.adultempire.com/""" from .common import GalleryExtractor from .. import text class AdultempireGalleryExtractor(GalleryExtractor): + """...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/adultempire.py
Write docstrings describing functionality
# -*- coding: utf-8 -*- # Copyright 2025 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. from .common import Extractor, Message from .. import text BASE_PATTERN = r...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://audiochan.com/""" from .common import Extractor, Message from .. import text @@ -14,6 +15,7 @@ class AudiochanExtractor(Extractor): + """Base ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/audiochan.py
Document functions with clear intent
# -*- coding: utf-8 -*- # Copyright 2022-2026 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. from .common import Extractor, Message from .. import text, dt import i...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://8chan.moe/""" from .common import Extractor, Message from .. import text, dt @@ -15,6 +16,7 @@ class _8chanExtractor(Extractor): + """Base cla...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/8chan.py
Add docstrings for internal functions
# -*- coding: utf-8 -*- # Copyright 2019-2025 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. from .common import BaseExtractor, Message from .. import text import i...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for FoolFuuka 4chan archives""" from .common import BaseExtractor, Message from .. import text @@ -13,6 +14,7 @@ class FoolfuukaExtractor(BaseExtractor): + ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/foolfuuka.py
Create Google-style docstrings for my code
# -*- 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 .common import Extractor, Message from .. import text BASE_PATTERN = r"(?:https?://)?desktopography\.ne...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://desktopography.net/""" from .common import Extractor, Message from .. import text @@ -12,12 +13,14 @@ class DesktopographyExtractor(Extractor): +...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/desktopography.py
Help me add docstrings to my project
# -*- coding: utf-8 -*- # Copyright 2025 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. from . import schalenetwork BASE_PATTERN = r"(?:https?://)?(?:www\.)?(hdouj...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://hdoujin.org/""" from . import schalenetwork @@ -13,6 +14,7 @@ class HdoujinBase(): + """Base class for hdoujin extractors""" category = ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/hdoujin.py
Add docstrings for better understanding
# -*- coding: utf-8 -*- # Copyright 2014-2026 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. import os import re import ssl import time import netrc import queue im...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Common classes and constants used by extractor modules.""" import os import re @@ -444,6 +445,7 @@ f"User input required ({prompt.strip(' :')})") def...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/common.py
Please document this code using docstrings
# -*- coding: utf-8 -*- # Copyright 2025 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. from .common import GalleryExtractor, ChapterExtractor, MangaExtractor, Mess...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://comick.io/""" from .common import GalleryExtractor, ChapterExtractor, MangaExtractor, Message from .. import text @@ -14,6 +15,7 @@ class ComickB...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/comick.py
Document all endpoints with docstrings
# -*- coding: utf-8 -*- # Copyright 2015-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. from . import moebooru class _3dbooruBase(): category = "3dbooru"...
--- +++ @@ -6,11 +6,13 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for http://behoimi.org/""" from . import moebooru class _3dbooruBase(): + """Base class for 3dbooru extractors""" category = "3dbooru" basecat...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/3dbooru.py
Document functions with clear intent
# -*- coding: utf-8 -*- # Copyright 2015-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. from .common import BaseExtractor, Message from .. import text import o...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for *booru sites""" from .common import BaseExtractor, Message from .. import text @@ -13,6 +14,7 @@ class BooruExtractor(BaseExtractor): + """Base class ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/booru.py
Replace inline comments with docstrings
# -*- coding: utf-8 -*- # Copyright 2022-2025 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. # Adapted from yt-dlp's cookies module. # https://github.com/yt-dlp/yt-d...
--- +++ @@ -96,6 +96,13 @@ def load_cookies_webkit(browser_name, profile=None, domain=None): + """Ref.: https://github.com/libyal/dtformats/blob + /main/documentation/Safari%20Cookies.asciidoc + - This data appears to be out of date + but the important parts of the database structure is the s...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/cookies.py
Create docstrings for all classes and functions
# -*- 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 .common import Extractor, Message from .. import text, util import itertools BASE_PATTERN = r"(?:https?...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.boosty.to/""" from .common import Extractor, Message from .. import text, util @@ -13,6 +14,7 @@ class BoostyExtractor(Extractor): + """Ba...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/boosty.py
Document this code for team use
# -*- coding: utf-8 -*- # Copyright 2025 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. from .common import Extractor, Message from .. import text BASE_PATTERN = r...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://cyberfile.me/""" from .common import Extractor, Message from .. import text @@ -14,6 +15,7 @@ class CyberfileExtractor(Extractor): + """Base c...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/cyberfile.py
Write docstrings including parameters and return values
# -*- coding: utf-8 -*- # Copyright 2025-2026 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. from .common import Extractor, Message from .. import text BASE_PATTER...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.bellazon.com/""" from .common import Extractor, Message from .. import text @@ -14,6 +15,7 @@ class BellazonExtractor(Extractor): + """Bas...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/bellazon.py
Add minimal docstrings for each function
# -*- coding: utf-8 -*- # Copyright 2025-2026 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. from .common import Extractor, Message from .. import text, util import...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://fansly.com/""" from .common import Extractor, Message from .. import text, util @@ -15,6 +16,7 @@ class FanslyExtractor(Extractor): + """Base ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/fansly.py
Generate docstrings with parameter types
# -*- coding: utf-8 -*- # Copyright 2020-2025 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. from .common import GalleryExtractor, Extractor, Message from .. import...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://hentaihand.com/""" from .common import GalleryExtractor, Extractor, Message from .. import text, util class HentaihandGalleryExtractor(Gallery...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/hentaihand.py
Create documentation strings for testing functions
# -*- coding: utf-8 -*- # Copyright 2015-2026 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. from .common import Extractor, Message, Dispatch from .. import text, u...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.hentai-foundry.com/""" from .common import Extractor, Message, Dispatch from .. import text, util @@ -14,6 +15,7 @@ class HentaifoundryExtrac...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/hentaifoundry.py
Write docstrings including parameters and return values
# -*- coding: utf-8 -*- # Copyright 2016-2025 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. from .common import ChapterExtractor, MangaExtractor from .. import tex...
--- +++ @@ -6,17 +6,20 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://hentaihere.com/""" from .common import ChapterExtractor, MangaExtractor from .. import text, util class HentaihereBase(): + """Base class f...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/hentaihere.py
Add docstrings with type hints explained
# -*- coding: utf-8 -*- # Copyright 2020-2026 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. from .common import ChapterExtractor, MangaExtractor from .. import tex...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://hiperdex.com/""" from .common import ChapterExtractor, MangaExtractor from .. import text @@ -15,6 +16,7 @@ class HiperdexBase(): + """Base cl...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/hiperdex.py
Add docstrings following best practices
# -*- coding: utf-8 -*- # Copyright 2026 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. from .common import Extractor, Message from .. import text import binascii ...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://joyreactor.com/""" from .common import Extractor, Message from .. import text @@ -15,6 +16,7 @@ class JoyreactorExtractor(Extractor): + """Bas...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/joyreactor.py
Create structured documentation for my script
# -*- coding: utf-8 -*- # Copyright 2019-2025 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. from .common import GalleryExtractor, Extractor, Message from .. import...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://hentainexus.com/""" from .common import GalleryExtractor, Extractor, Message from .. import text, util @@ -13,6 +14,7 @@ class HentainexusGallery...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/hentainexus.py
Document my Python code with docstrings
# -*- 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 .common import Extractor, Message, Dispatch from .. import text, util import hashlib BASE_PATTERN = r"(...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.iwara.tv/""" from .common import Extractor, Message, Dispatch from .. import text, util @@ -14,6 +15,7 @@ class IwaraExtractor(Extractor): + ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/iwara.py
Document this code for team use
# -*- coding: utf-8 -*- # Copyright 2026 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. from .common import Extractor, Message from .. import text BASE_PATTERN = r...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.imagepond.net/""" from .common import Extractor, Message from .. import text @@ -14,6 +15,7 @@ class ImagepondExtractor(Extractor): + """B...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/imagepond.py
Add clean documentation to messy code
# -*- coding: utf-8 -*- # Copyright 2025-2026 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. from .common import Extractor, Message from .. import text class Koof...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://koofr.net/""" from .common import Extractor, Message from .. import text class KoofrSharedExtractor(Extractor): + """Base class for koofr e...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/koofr.py
Document classes and their methods
# -*- coding: utf-8 -*- # Copyright 2019-2025 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. from .common import GalleryExtractor, Extractor, Message from .. import...
--- +++ @@ -6,17 +6,20 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://issuu.com/""" from .common import GalleryExtractor, Extractor, Message from .. import text, util class IssuuBase(): + """Base class for iss...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/issuu.py
Document all endpoints with docstrings
# -*- coding: utf-8 -*- # Copyright 2016-2026 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. from .common import Extractor, Message from .. import text class Imag...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Collection of extractors for various imagehosts""" from .common import Extractor, Message from .. import text class ImagehostImageExtractor(Extractor): + """Base ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/imagehosts.py
Add docstrings that explain inputs and outputs
# -*- coding: utf-8 -*- # Copyright 2020-2025 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. from .common import Extractor, Message from .. import text class Kabe...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://kabe-uchiroom.com/""" from .common import Extractor, Message from .. import text class KabeuchiUserExtractor(Extractor): + """Extractor for...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/kabeuchi.py
Write proper docstrings for these functions
# -*- coding: utf-8 -*- # Copyright 2015-2025 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. from .common import Extractor, Message from .. import text BASE_PATTER...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://imgur.com/""" from .common import Extractor, Message from .. import text @@ -14,6 +15,7 @@ class ImgurExtractor(Extractor): + """Base class fo...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/imgur.py
Write Python docstrings for this snippet
# -*- coding: utf-8 -*- # Copyright 2021-2026 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. from .common import Extractor, Message from .. import text BASE_PATTER...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.pillowfort.social/""" from .common import Extractor, Message from .. import text @@ -14,6 +15,7 @@ class PillowfortExtractor(Extractor): + ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/pillowfort.py
Create Google-style docstrings for my code
# -*- coding: utf-8 -*- # Copyright 2015-2026 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. from .common import ChapterExtractor, Extractor, Message from .. import...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://mangapark.net/""" from .common import ChapterExtractor, Extractor, Message from .. import text, util @@ -17,6 +18,7 @@ class MangaparkBase(): + ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/mangapark.py
Turn comments into proper docstrings
# -*- coding: utf-8 -*- # 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. from .common import Extractor, Message from .. import text BASE_PATTER...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://piczel.tv/""" from .common import Extractor, Message from .. import text @@ -14,6 +15,7 @@ class PiczelExtractor(Extractor): + """Base class f...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/piczel.py
Document this module using docstrings
# -*- coding: utf-8 -*- # Copyright 2018-2020 Leonardo Taccari # Copyright 2018-2026 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. from .common import Extractor, M...
--- +++ @@ -7,6 +7,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.instagram.com/""" from .common import Extractor, Message, Dispatch from .. import text, util @@ -18,6 +19,7 @@ class InstagramExtractor(Extra...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/instagram.py
Document this script properly
# -*- coding: utf-8 -*- # Copyright 2018-2026 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. from .common import Extractor, Message from .. import text class Mypo...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.myportfolio.com/""" from .common import Extractor, Message from .. import text class MyportfolioGalleryExtractor(Extractor): + """Extra...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/myportfolio.py
Provide docstrings following PEP 257
# -*- coding: utf-8 -*- # Copyright 2025-2026 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. from .common import GalleryExtractor, BaseExtractor, Message from .. im...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://imhentai.xxx/ and mirror sites""" from .common import GalleryExtractor, BaseExtractor, Message from .. import text, util @@ -77,6 +78,7 @@ class ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/imhentai.py
Document helper functions with docstrings
# -*- coding: utf-8 -*- # Copyright 2015-2025 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. from .common import GalleryExtractor from .. import text class ImgthG...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://imgth.com/""" from .common import GalleryExtractor from .. import text class ImgthGalleryExtractor(GalleryExtractor): + """Extractor for im...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/imgth.py
Add return value explanations in docstrings
# -*- coding: utf-8 -*- # Copyright 2017-2026 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. from .common import Extractor from .. import text, oauth, util, config ...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Utility classes to setup OAuth and link accounts to gallery-dl""" from .common import Extractor from .. import text, oauth, util, config @@ -17,6 +18,7 @@ class OAuthBa...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/oauth.py
Help me write clear docstrings
# -*- coding: utf-8 -*- # Copyright 2020-2025 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. from .booru import BooruExtractor from .. import text, dt import collec...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for Moebooru based sites""" from .booru import BooruExtractor from .. import text, dt @@ -13,6 +14,7 @@ class MoebooruExtractor(BooruExtractor): + """Base...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/moebooru.py
Add docstrings to improve code quality
# -*- 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 .common import Extractor, Message from .. import text, util class LightroomGalleryExtractor(Extractor)...
--- +++ @@ -4,12 +4,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://lightroom.adobe.com/""" from .common import Extractor, Message from .. import text, util class LightroomGalleryExtractor(Extractor): + """E...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/lightroom.py
Add docstrings to make code maintainable
# -*- coding: utf-8 -*- # Copyright 2016-2025 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. from .common import Extractor, Message, AsynchronousMixin from .. impor...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://downloads.khinsider.com/""" from .common import Extractor, Message, AsynchronousMixin from .. import text class KhinsiderSoundtrackExtractor(A...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/khinsider.py
Add docstrings to incomplete code
# -*- coding: utf-8 -*- # Copyright 2025 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. from .common import Extractor, Message from .. import text BASE_PATTERN = r...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://nekohouse.su/""" from .common import Extractor, Message from .. import text @@ -15,6 +16,7 @@ class NekohouseExtractor(Extractor): + """Base c...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/nekohouse.py
Auto-generate documentation strings for this file
# -*- coding: utf-8 -*- # Copyright 2017-2025 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. from .common import ChapterExtractor, MangaExtractor from .. import tex...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://fanfox.net/""" from .common import ChapterExtractor, MangaExtractor from .. import text @@ -14,6 +15,7 @@ class MangafoxChapterExtractor(ChapterE...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/mangafox.py
Add docstrings to incomplete code
# -*- coding: utf-8 -*- # Copyright 2025-2026 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. from .common import ChapterExtractor, MangaExtractor from .. import tex...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://mangafire.to/""" from .common import ChapterExtractor, MangaExtractor from .. import text @@ -14,6 +15,7 @@ class MangafireBase(): + """Base c...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/mangafire.py
Auto-generate documentation strings for this file
# -*- 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 .common import ChapterExtractor, MangaExtractor from .. import text BASE_PATTERN = r"(?:https?://)?kali...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://kaliscan.me/""" from .common import ChapterExtractor, MangaExtractor from .. import text @@ -12,6 +13,7 @@ class KaliscanBase(): + """Base cla...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/kaliscan.py
Create documentation for each function signature
# -*- coding: utf-8 -*- # Copyright 2023-2025 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. from .common import Extractor, Message from .. import text class Lexi...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://lexica.art/""" from .common import Extractor, Message from .. import text class LexicaSearchExtractor(Extractor): + """Extractor for lexica...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/lexica.py
Document this module using docstrings
# -*- coding: utf-8 -*- # Copyright 2021-2025 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. from .common import BaseExtractor, Message from .. import text class ...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for lolisafe/chibisafe instances""" from .common import BaseExtractor, Message from .. import text class LolisafeExtractor(BaseExtractor): + """Base cl...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/lolisafe.py
Document helper functions with docstrings
# -*- coding: utf-8 -*- # Copyright 2019-2026 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. from .common import BaseExtractor, Message from .. import text class ...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for Mastodon instances""" from .common import BaseExtractor, Message from .. import text class MastodonExtractor(BaseExtractor): + """Base class for ma...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/mastodon.py
Document helper functions with docstrings
# -*- 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 .common import ChapterExtractor, MangaExtractor from .. import text BASE_PATTERN = r"(?:https?://)?(?:w...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.mangatown.com/""" from .common import ChapterExtractor, MangaExtractor from .. import text @@ -12,11 +13,13 @@ class MangatownBase(): + ""...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/mangatown.py
Provide clean and structured docstrings
# -*- 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 .common import GalleryExtractor, Message from .. import text BASE_PATTERN = r"(?:https?://)?(?:[a-z]{2}...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://nudostar.tv/""" from .common import GalleryExtractor, Message from .. import text @@ -12,11 +13,13 @@ class NudostarExtractor(GalleryExtractor): ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/nudostar.py
Add verbose docstrings with examples
# -*- 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 .common import Extractor, Message from .. import text import binascii BASE_PATTERN = r"(?:https?://)?(?...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://hotleak.vip/""" from .common import Extractor, Message from .. import text @@ -13,6 +14,7 @@ class HotleakExtractor(Extractor): + """Base clas...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/hotleak.py
Create Google-style docstrings for my code
# -*- coding: utf-8 -*- # Copyright 2018-2025 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. from .common import ChapterExtractor, MangaExtractor from .. import tex...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://komikcast.li/""" from .common import ChapterExtractor, MangaExtractor from .. import text @@ -15,10 +16,12 @@ class KomikcastBase(): + """Base...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/komikcast.py
Generate docstrings for exported functions
# -*- 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 .common import Extractor, GalleryExtractor, Message from .. import text BASE_PATTERN = r"(?:https?://)?...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://myhentaigallery.com/""" from .common import Extractor, GalleryExtractor, Message from .. import text @@ -17,6 +18,7 @@ class MyhentaigalleryGalle...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/myhentaigallery.py
Add docstrings to improve collaboration
# -*- 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 .common import Extractor, Message from .. import text BASE_PATTERN = r"(?:https?://)?(?:[\w]+\.)?pictoa...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://pictoa.com/""" from .common import Extractor, Message from .. import text @@ -12,6 +13,7 @@ class PictoaExtractor(Extractor): + """Base class ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/pictoa.py
Generate descriptive docstrings automatically
# -*- 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 .common import Extractor, Message from .. import text, util BASE_PATTERN = r"(?:https?://)?(?:www\.)?ph...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://pholder.com/""" from .common import Extractor, Message from .. import text, util @@ -19,6 +20,7 @@ class PholderExtractor(Extractor): + """Bas...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/pholder.py
Replace inline comments with docstrings
# -*- 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 .common import Extractor, Message from .. import text BASE_PATTERN = r"(?:https?://)?(?:www\.)?leakgall...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://leakgallery.com""" from .common import Extractor, Message from .. import text @@ -60,6 +61,7 @@ class LeakgalleryUserExtractor(LeakgalleryExtract...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/leakgallery.py
Add missing documentation to my Python functions
# -*- coding: utf-8 -*- # Copyright 2014-2025 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. from .common import Extractor, Message, AsynchronousMixin from .. impor...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://imgbox.com/""" from .common import Extractor, Message, AsynchronousMixin from .. import text class ImgboxExtractor(Extractor): + """Base cl...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/imgbox.py
Add docstrings to make code maintainable
# -*- coding: utf-8 -*- # Copyright 2020 Jake Mannens # Copyright 2021-2026 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. from .common import BaseExtractor, Chapte...
--- +++ @@ -7,6 +7,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.mangakakalot.gg/ and mirror sites""" from .common import BaseExtractor, ChapterExtractor, MangaExtractor, Message from .. import text, util @@ -3...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/manganelo.py
Create docstrings for API functions
# -*- 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 .common import Extractor, Message from .. import text, util class NaverChzzkExtractor(Extractor): ...
--- +++ @@ -4,12 +4,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://chzzk.naver.com/""" from .common import Extractor, Message from .. import text, util class NaverChzzkExtractor(Extractor): + """Base class ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/naverchzzk.py
Document this code for team use
# -*- coding: utf-8 -*- # Copyright 2015-2025 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. from .common import ChapterExtractor, MangaExtractor from .. import tex...
--- +++ @@ -6,18 +6,21 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.mangahere.cc/""" from .common import ChapterExtractor, MangaExtractor from .. import text class MangahereBase(): + """Base class for ma...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/mangahere.py
Write documentation strings for class attributes
# -*- coding: utf-8 -*- # Copyright 2021 Seonghyeon Cho # Copyright 2022-2025 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. from .common import GalleryExtractor, E...
--- +++ @@ -7,6 +7,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://comic.naver.com/""" from .common import GalleryExtractor, Extractor, Message from .. import text @@ -16,6 +17,7 @@ class NaverWebtoonBase(): + ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/naverwebtoon.py
Write docstrings for data processing functions
# -*- coding: utf-8 -*- # Copyright 2019-2026 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. from .common import Extractor, Message from .. import text, util, dt im...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.patreon.com/""" from .common import Extractor, Message from .. import text, util, dt @@ -14,6 +15,7 @@ class PatreonExtractor(Extractor): + ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/patreon.py
Write docstrings for data processing functions
# -*- coding: utf-8 -*- # Copyright 2018-2026 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. from .common import Extractor, Message from .. import text class Pahe...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://rule34.paheal.net/""" from .common import Extractor, Message from .. import text class PahealExtractor(Extractor): + """Base class for pahe...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/paheal.py
Create docstrings for all classes and functions
# -*- coding: utf-8 -*- # Copyright 2025-2026 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. from .common import ChapterExtractor, MangaExtractor from .. import tex...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://mangareader.to/""" from .common import ChapterExtractor, MangaExtractor from .. import text, util @@ -14,6 +15,7 @@ class MangareaderBase(): + ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/mangareader.py
Write clean docstrings for readability
# -*- coding: utf-8 -*- # Copyright 2018-2026 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. from .common import Extractor, Message, Dispatch from .. import text, u...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.newgrounds.com/""" from .common import Extractor, Message, Dispatch from .. import text, util, dt @@ -16,6 +17,7 @@ class NewgroundsExtractor...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/newgrounds.py
Create docstrings for reusable components
# -*- coding: utf-8 -*- # Copyright 2018-2026 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. from .common import Extractor, Message from .. import text, util from c...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://mangadex.org/""" from .common import Extractor, Message from .. import text, util @@ -15,6 +16,7 @@ class MangadexExtractor(Extractor): + """B...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/mangadex.py
Document classes and their methods
# -*- coding: utf-8 -*- # Copyright 2019-2025 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. from .common import Extractor, Message from .. import text, dt def de...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://nozomi.la/""" from .common import Extractor, Message from .. import text, dt @@ -17,6 +18,7 @@ class NozomiExtractor(Extractor): + """Base cla...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/nozomi.py
Replace inline comments with docstrings
# -*- coding: utf-8 -*- # Copyright 2019-2026 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. from .common import Extractor, Message from .. import text, util clas...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://imgbb.com/""" from .common import Extractor, Message from .. import text, util class ImgbbExtractor(Extractor): + """Base class for imgbb e...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/imgbb.py
Generate docstrings for script automation
# -*- 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 .common import GalleryExtractor, Extractor, Message from .. import text, util BASE_PATTERN = r"(?:https...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://lensdump.com/""" from .common import GalleryExtractor, Extractor, Message from .. import text, util @@ -12,6 +13,7 @@ class LensdumpBase(): + ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/lensdump.py
Add docstrings including usage examples
# -*- coding: utf-8 -*- # Copyright 2024-2026 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. from .common import Extractor, Message from .. import text, dt BASE_PA...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://motherless.com/""" from .common import Extractor, Message from .. import text, dt @@ -14,6 +15,7 @@ class MotherlessExtractor(Extractor): + ""...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/motherless.py
Help me document legacy Python code
# -*- coding: utf-8 -*- # Copyright 2015-2026 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. from .common import GalleryExtractor, Extractor, Message from .nozomi i...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://hitomi.la/""" from .common import GalleryExtractor, Extractor, Message from .nozomi import decode_nozomi @@ -14,6 +15,7 @@ class HitomiExtractor(...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/hitomi.py
Create docstrings for each class method
# -*- coding: utf-8 -*- # Copyright 2021-2026 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. from .common import Extractor, Message from .. import text, util import...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://kemono.cr/""" from .common import Extractor, Message from .. import text, util @@ -19,6 +20,7 @@ class KemonoExtractor(Extractor): + """Base c...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/kemono.py
Create docstrings for reusable components
# -*- 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 .common import BaseExtractor, Message from .. import text import itertools class LynxchanExtractor(Bas...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for LynxChan Imageboards""" from .common import BaseExtractor, Message from .. import text @@ -11,6 +12,7 @@ class LynxchanExtractor(BaseExtractor): + """...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/lynxchan.py
Create simple docstrings for beginners
# -*- coding: utf-8 -*- # Copyright 2025 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. from .common import Extractor, Message from .. import text BASE_PATTERN = r...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://imgpile.com/""" from .common import Extractor, Message from .. import text @@ -14,6 +15,7 @@ class ImgpileExtractor(Extractor): + """Base clas...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/imgpile.py
Provide docstrings following PEP 257
# -*- coding: utf-8 -*- # Copyright 2019-2025 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. from .common import Extractor, Message from .. import text class Keen...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for http://www.keenspot.com/""" from .common import Extractor, Message from .. import text class KeenspotComicExtractor(Extractor): + """Extractor for ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/keenspot.py
Create docstrings for reusable components
# -*- 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 .common import Extractor, Message from .. import text BASE_PATTERN = r"(?:https?://)?(?:www\.)?listal\....
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://listal.com""" from .common import Extractor, Message from .. import text @@ -12,6 +13,7 @@ class ListalExtractor(Extractor): + """Base class f...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/listal.py
Document this module using docstrings
# -*- coding: utf-8 -*- # Copyright 2019-2025 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. from .common import GalleryExtractor, Extractor, Message from .. import...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://blog.naver.com/""" from .common import GalleryExtractor, Extractor, Message from .. import text, util, dt @@ -13,11 +14,13 @@ class NaverBlogBase...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/naverblog.py
Add docstrings for utility scripts
# -*- coding: utf-8 -*- # Copyright 2014-2026 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. from .common import Extractor, Message from .. import text class Imag...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.imagebam.com/""" from .common import Extractor, Message from .. import text class ImagebamExtractor(Extractor): + """Base class for ima...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/imagebam.py
Help me comply with documentation standards
# -*- coding: utf-8 -*- # Copyright 2022-2026 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. from .common import Extractor, Message, Dispatch from .. import text, u...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://itaku.ee/""" from .common import Extractor, Message, Dispatch from .. import text, util @@ -15,6 +16,7 @@ class ItakuExtractor(Extractor): + "...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/itaku.py
Document this module using docstrings
# -*- coding: utf-8 -*- # Copyright 2019-2025 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. from .common import Extractor, Message from .. import text class Live...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for http://blog.livedoor.jp/""" from .common import Extractor, Message from .. import text class LivedoorExtractor(Extractor): + """Base class for live...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/livedoor.py
Add docstrings to incomplete code
# -*- coding: utf-8 -*- # Copyright 2021-2026 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. from .booru import BooruExtractor from .. import text class Philomena...
--- +++ @@ -6,12 +6,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for Philomena sites""" from .booru import BooruExtractor from .. import text class PhilomenaExtractor(BooruExtractor): + """Base class for philomena ex...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/philomena.py
Please document this code using docstrings
# -*- coding: utf-8 -*- # Copyright 2019-2026 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. from .common import Extractor, Message from .. import text import hashl...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.mangoxo.com/""" from .common import Extractor, Message from .. import text @@ -14,6 +15,7 @@ class MangoxoExtractor(Extractor): + """Base ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/mangoxo.py
Generate docstrings for script automation
# -*- coding: utf-8 -*- # Copyright 2020 Leonid "Bepis" Pavel # Copyright 2023-2026 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. from .common import GalleryExtrac...
--- +++ @@ -7,6 +7,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://imgchest.com/""" from .common import GalleryExtractor, Extractor, Message from .. import text, util @@ -15,6 +16,7 @@ class ImagechestGalleryExtr...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/imagechest.py
Document functions with clear intent
# -*- 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 .common import ChapterExtractor, MangaExtractor from .. import text BASE_PATTERN = r"(?:https?://)?(?:w...
--- +++ @@ -4,6 +4,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://ww2.mangafreak.me/""" from .common import ChapterExtractor, MangaExtractor from .. import text @@ -12,11 +13,13 @@ class MangafreakBase(): + "...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/mangafreak.py
Create documentation strings for testing functions
# -*- coding: utf-8 -*- # Copyright 2025 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. from .common import Extractor, Message from .. import text, util BASE_PATTE...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://manga.madokami.al/""" from .common import Extractor, Message from .. import text, util @@ -14,11 +15,13 @@ class MadokamiExtractor(Extractor): + ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/madokami.py
Document classes and their methods
# -*- coding: utf-8 -*- # Copyright 2025-2026 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. from .common import Extractor, Message from .. import text BASE_PATTER...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://pexels.com/""" from .common import Extractor, Message from .. import text @@ -14,6 +15,7 @@ class PexelsExtractor(Extractor): + """Base class ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/pexels.py
Provide docstrings following PEP 257
# -*- 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 .common import BaseExtractor, Message, Dispatch from .. import text, dt class MisskeyExtractor(BaseExt...
--- +++ @@ -4,12 +4,14 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for Misskey instances""" from .common import BaseExtractor, Message, Dispatch from .. import text, dt class MisskeyExtractor(BaseExtractor): + """Base ...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/misskey.py
Add standardized docstrings across the file
# -*- coding: utf-8 -*- # Copyright 2018-2025 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. from . import sankaku BASE_PATTERN = (r"(?:https?://)?(?:www\.)?" ...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://www.idolcomplex.com/""" from . import sankaku @@ -15,6 +16,7 @@ class IdolcomplexBase(): + """Base class for idolcomplex extractors""" c...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/idolcomplex.py
Document functions with detailed explanations
# -*- coding: utf-8 -*- # Copyright 2015-2025 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. from .common import GalleryExtractor, Extractor, Message from .. import...
--- +++ @@ -6,6 +6,7 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +"""Extractors for https://nhentai.net/""" from .common import GalleryExtractor, Extractor, Message from .. import text, util @@ -14,6 +15,7 @@ class NhentaiGalleryExtracto...
https://raw.githubusercontent.com/mikf/gallery-dl/HEAD/gallery_dl/extractor/nhentai.py