You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""retrieve from local cache if present, otherwise download it first
Only useful for devel/debug because there are many resources linked
to assets and source website is quite slow"""
Either add_css is not using the proper fetch method, or the docstring + method behavior are inaccurate (we might use get_from_cache for prod but then it misses a proper backoff mechanism like the fetch method which is used for web scraping calls)
The text was updated successfully, but these errors were encountered:
Task: https://farm.openzim.org/pipeline/3481640e-bb1e-4e47-9a82-edb4aa2d13b2/debug
Logs:
We see that the call stack is:
However, get_from_cache is not using any retry mechanism, plus its docstring states that it should only be used for devel/debug purposes:
wikihow/wikihow2zim/scraper.py
Lines 195 to 199 in 275bac2
Either add_css is not using the proper fetch method, or the docstring + method behavior are inaccurate (we might use get_from_cache for prod but then it misses a proper backoff mechanism like the fetch method which is used for web scraping calls)
The text was updated successfully, but these errors were encountered: