Describe the bug
Pysa scraper produces an error: if len(published.split('/')[2]) == 4:
/ IndexError: list index out of range
To Reproduce
Input right Pysa site URL
Run ransomwatch task
Expected behavior
Scraper works on Pysa.
Screenshots
Logs
app_1 | 2021/11/27 18:09:50 [ERROR] Got an error while scraping Pysa, notifying
app_1 | 2021/11/27 18:09:50 [ERROR] Traceback (most recent call last):
app_1 | File "/app/ransomwatch.py", line 77, in main
app_1 | s.scrape_victims()
app_1 | File "/app/sites/pysa.py", line 33, in scrape_victims
app_1 | if len(published.split('/')[2]) == 4:
app_1 | IndexError: list index out of range
Describe the bug Pysa scraper produces an error: if len(published.split('/')[2]) == 4: / IndexError: list index out of range
To Reproduce
Expected behavior Scraper works on Pysa.
Screenshots
Logs app_1 | 2021/11/27 18:09:50 [ERROR] Got an error while scraping Pysa, notifying app_1 | 2021/11/27 18:09:50 [ERROR] Traceback (most recent call last): app_1 | File "/app/ransomwatch.py", line 77, in main app_1 | s.scrape_victims() app_1 | File "/app/sites/pysa.py", line 33, in scrape_victims app_1 | if len(published.split('/')[2]) == 4: app_1 | IndexError: list index out of range
Environment
Additional context