Update xPath value

This commit is contained in:
james-still 2022-07-24 15:50:05 +01:00 committed by GitHub
parent 2994a8ac57
commit 7b714c0d0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def response(resp):
dom = html.fromstring(resp.text)
for result in eval_xpath_list(dom, "/html/body/div[2]/div[1]/ol/li"):
for result in eval_xpath_list(dom, "/html/body/div[3]/div[1]/ol/li"):
extracted_desc = extract_text(eval_xpath_getindex(result, './/p', 0))