Problem by running job : jdhapi.tasks.save_article_specific_content for article The Text Analysis Prototype for GaLiLeO: Galileo's Library and Letters Online #205
[2023-09-26 10:17:41,908: ERROR/ForkPoolWorker-2] Task jdhapi.tasks.save_article_specific_content[fcc2492e-da72-4d3b-a065-75fafb81fca4] raised unexpected: JSONDecodeError('Extra data: line 1 column 4 (char 3)')
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/celery/app/trace.py", line 405, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/celery/app/trace.py", line 697, in __protected_call__
return self.run(*args, **kwargs)
File "/journal-of-digital-history-backend/jdhapi/tasks.py", line 60, in save_article_specific_content
data = get_notebook_specifics_tags(article, raw_url=article.notebook_ipython_url)
File "/journal-of-digital-history-backend/jdhapi/utils/articleUtils.py", line 128, in get_notebook_specifics_tags
notebook = get_notebook_from_raw_github(raw_url=raw_url)
File "/journal-of-digital-history-backend/jdhapi/utils/articleUtils.py", line 25, in get_notebook_from_raw_github
return r.json()
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 4 (char 3)