Skip to content

Commit c0af3d1

Browse files
committed
Merge branch 'develop'
2 parents 6a90cae + 78d20e8 commit c0af3d1

File tree

12 files changed

+4046
-418
lines changed

12 files changed

+4046
-418
lines changed

cookbook/helper/recipe_url_import.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from django.utils.translation import gettext as _
77
from isodate import parse_duration as iso_parse_duration
88
from isodate.isoerror import ISO8601Error
9-
from pytube import YouTube
9+
from pytubefix import YouTube
1010
from recipe_scrapers._utils import get_host_name, get_minutes
1111

1212
from cookbook.helper.automation_helper import AutomationEngine
@@ -275,7 +275,7 @@ def get_from_youtube_scraper(url, request):
275275
if video.description:
276276
default_recipe_json['steps'][0]['instruction'] = automation_engine.apply_regex_replace_automation(video.description, Automation.INSTRUCTION_REPLACE)
277277
except Exception:
278-
pass
278+
traceback.print_exc()
279279

280280
return default_recipe_json
281281

0 commit comments

Comments
 (0)