It should probably just be silent on errors for any URL it cannot produce a preview for
[01/23/25 23:32:07] ERROR 403 Client Error: Forbidden for url:
https://bitcoinmagazine.com/takes/ethereums-looming-collapse-is-a-lesson-in-blockchain-integrity
Traceback (most recent call last):
File "/home/feld/deltabots/lib/python3.11/site-packages/instantview/hooks.py", line 72, in on_msg
send_preview(bot, accid, msg, url)
File "/home/feld/deltabots/lib/python3.11/site-packages/instantview/web.py", line 41, in send_preview
resp.raise_for_status()
File "/home/feld/deltabots/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url:
https://bitcoinmagazine.com/takes/ethereums-looming-collapse-is-a-lesson-in-blockchain-integrity
Sometimes the bot reports 403 errors for URLs it cannot scrape
It should probably just be silent on errors for any URL it cannot produce a preview for