~nhanb/fundoshi

81728ed8cff8428f7f78eb4bd1634f9a5618df81 — Bui Thanh Nhan 1 year, 7 months ago c8e3047 mangapanda
mangadex desc: avoid strip()-ing twice
1 files changed, 1 insertions(+), 1 deletions(-)

M fundoshi/sites/mangadex.py
M fundoshi/sites/mangadex.py => fundoshi/sites/mangadex.py +1 -1
@@ 55,7 55,7 @@ def scrape_title(original_id):
    pub_status = _get_next_column_of(soup, "Pub. status")

    raw_descs = _get_next_column_of(soup, "Description")
    descriptions = [desc.strip() for desc in raw_descs.split("\n\n") if desc.strip()]
    descriptions = filter(bool, [desc.strip() for desc in raw_descs.split("\n\n")])

    chapters = _get_chapters(soup)