mirror of
https://github.com/SocksPls/hltv-api
synced 2025-04-29 23:23:08 +00:00
Compare commits
2 commits
374c4f1b8e
...
197df7ec86
Author | SHA1 | Date | |
---|---|---|---|
![]() |
197df7ec86 | ||
![]() |
a996ad6174 |
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -39,7 +39,7 @@ def _monthNameToNumber(monthName: str):
|
|||
# by removing the "st" from the day numbers, such as "21st" -> "21"
|
||||
if monthName == "Augu":
|
||||
monthName = "August"
|
||||
return datetime.strptime(monthName, '%B').month
|
||||
return datetime.datetime.strptime(monthName, '%B').month
|
||||
|
||||
def get_parsed_page(url, delay=0.5):
|
||||
# This fixes a blocked by cloudflare error i've encountered
|
||||
|
|
Loading…
Add table
Reference in a new issue