combined json import and source import

This commit is contained in:
smilerz
2021-03-21 13:13:56 -05:00
parent 4015517c0a
commit 40a2f7ff90
5 changed files with 98 additions and 137 deletions

View File

@@ -15,7 +15,7 @@ from django.utils.translation import gettext as _
from recipe_scrapers import _utils
def get_from_html(html_text, url, space):
def get_from_html_old(html_text, url, space):
soup = BeautifulSoup(html_text, "html.parser")
# first try finding ld+json as its most common