Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

cuba can't spell #64

Open
captainGeech42 opened this issue Aug 9, 2021 · 0 comments
Open

cuba can't spell #64

captainGeech42 opened this issue Aug 9, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@captainGeech42
Copy link
Owner

Describe the bug
Cuba misspelled "July" as "Jule"

Logs

Traceback (most recent call last):
  File "/app/ransomwatch.py", line 66, in main
    s.scrape_victims()
  File "/app/sites/cuba.py", line 115, in scrape_victims
    self._handle_page(r.content.decode(), p)
  File "/app/sites/cuba.py", line 81, in _handle_page
    published_dt = self.extract_published_date(r.content.decode())
  File "/app/sites/cuba.py", line 49, in extract_published_date
    return datetime.strptime(published, "%d %B %Y")
  File "/usr/local/lib/python3.9/_strptime.py", line 568, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/local/lib/python3.9/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data '31 Jule 2021' does not match format '%d %B %Y'
@captainGeech42 captainGeech42 added the bug Something isn't working label Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant