code adjustments according to pep8 nr2

This commit is contained in:
Mike Fährmann
2017-02-01 00:53:19 +01:00
parent f1b7d41608
commit 94e10f249a
68 changed files with 390 additions and 167 deletions

View File

@@ -12,6 +12,7 @@ from .common import Extractor, Message
from .. import text
import json
class HentaicdnMangaExtractor(Extractor):
"""Base class for extractors for mangas"""
subcategory = "manga"
@@ -29,7 +30,8 @@ class HentaicdnChapterExtractor(Extractor):
"""Base class for extractors for a single manga chapter"""
subcategory = "chapter"
directory_fmt = ["{category}", "{gallery-id} {title}"]
filename_fmt = "{category}_{gallery-id}_{chapter:>02}_{num:>03}.{extension}"
filename_fmt = ("{category}_{gallery-id}_{chapter:>02}_"
"{num:>03}.{extension}")
url = ""
def items(self):