updated to handle new behavior of recipe_scrapers

This commit is contained in:
smilerz
2021-05-02 15:44:27 -05:00
parent 90e1e69dac
commit e345d2eb39
3 changed files with 53 additions and 20 deletions

View File

@@ -30,7 +30,7 @@ def text_scraper(text, url=None):
url=None
):
self.wild_mode = False
self.exception_handling = None # TODO add new method here, old one was deprecated
# self.exception_handling = None # TODO add new method here, old one was deprecated
self.meta_http_equiv = False
self.soup = BeautifulSoup(page_data, "html.parser")
self.url = url