captainGeech42 / ransomwatch

Ransomware leak site monitoring
MIT License
305 stars 64 forks source link

Lorenz scraper not working #76

Closed wersas1 closed 2 years ago

wersas1 commented 2 years ago

Describe the bug Lorenz scraper produces an error: victimname = victim.find("div", class="panel-heading").find("h3").text.strip() \ AttributeError: 'NoneType' object has no attribute 'text'

To Reproduce

  1. Input right Lorenz site URL
  2. Run ransomwatch task

Expected behavior Scraper works on Lorenz.

Screenshots image

Logs app_1 | 2021/11/27 18:10:08 [ERROR] Got an error while scraping Lorenz, notifying app_1 | 2021/11/27 18:10:08 [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/lorenz.py", line 67, in scrape_victims app_1 | self._handle_page(r.content.decode()) app_1 | File "/app/sites/lorenz.py", line 19, in _handle_page app_1 | victimname = victim.find("div", class="panel-heading").find("h3").text.strip() app_1 | AttributeError: 'NoneType' object has no attribute 'text'

Environment

Additional context