Open PetroffSky opened 2 days ago
The script does not find the date (Russian): from htmldate import find_date
url = "https://kamaz.ru/press/releases/kamaz_i_skolkovo_sozdadut_ekologicheski_chistyy_gruzovik/"
print(find_date(url, extensive_search=True)) # Returns None print(find_date(url, extensive_search=False)) # Returns None
Xpath selector of dates on the page: //div[contains(text(), 'July 30, 2015')]
The script does not find the date (Russian): from htmldate import find_date
url = "https://kamaz.ru/press/releases/kamaz_i_skolkovo_sozdadut_ekologicheski_chistyy_gruzovik/"
print(find_date(url, extensive_search=True)) # Returns None print(find_date(url, extensive_search=False)) # Returns None
Xpath selector of dates on the page: //div[contains(text(), 'July 30, 2015')]