From 49f0c16f7fe5c160fa64793dd03ada5386bf7c4f Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sun, 3 Jan 2016 05:56:46 +0100 Subject: [PATCH] Fix up BS4 warnings in mangafox and mrnet. --- manga/mangafox.py | 2 +- manga/mrnet.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manga/mangafox.py b/manga/mangafox.py index cb5e655..8ac34f8 100644 --- a/manga/mangafox.py +++ b/manga/mangafox.py @@ -2,7 +2,7 @@ import urllib.request, re import bs4, json from . import lib, htcache soup = bs4.BeautifulSoup -soupify = lambda cont: soup(cont) +soupify = lambda cont: soup(cont, "html.parser") class page(lib.page): def __init__(self, chapter, stack, n, url): diff --git a/manga/mrnet.py b/manga/mrnet.py index 35caf1d..fca97b1 100644 --- a/manga/mrnet.py +++ b/manga/mrnet.py @@ -2,7 +2,7 @@ import bs4 from urllib.parse import urljoin from . import lib, htcache soup = bs4.BeautifulSoup -soupify = lambda cont: soup(cont) +soupify = lambda cont: soup(cont, "html.parser") class page(lib.page): def __init__(self, chapter, stack, n, url): -- 2.11.0