Spaces:
Sleeping
Sleeping
Download src/scraping/exceptions.py from tktm8/EmpathemeBot_dev: direct link, hf CLI and curl.
- Browser
- Download file 260 Bytes
-
https://huggingface.co/spaces/tktm8/EmpathemeBot_dev/resolve/main/src/scraping/exceptions.py
- Command line
-
hf download hf://spaces/tktm8/EmpathemeBot_dev/src/scraping/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/tktm8/EmpathemeBot_dev/resolve/main/src/scraping/exceptions.py
260 Bytes
| """ | |
| スクレイピング処理用のカスタム例外 | |
| """ | |
| class ArticleNotFoundError(Exception): | |
| """記事が存在しない場合の例外(404エラー)""" | |
| pass | |
| class FetchError(Exception): | |
| """その他のフェッチエラー""" | |
| pass | |