1
0
Fork 0
mirror of https://github.com/SocksPls/hltv-api synced 2025-05-01 07:53:07 +00:00

Compare commits

..

No commits in common. "197df7ec8610385c5de6773a7b08336e150f0918" and "374c4f1b8e700e9532fef297837a52be8ad6e4f3" have entirely different histories.

View file

@ -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.datetime.strptime(monthName, '%B').month
return datetime.strptime(monthName, '%B').month
def get_parsed_page(url, delay=0.5):
# This fixes a blocked by cloudflare error i've encountered