From aa4f0e6b4b81722518c9dc407686c09cf8a07edf Mon Sep 17 00:00:00 2001 From: "Dr. Bastian Ebeling" <230051+Barry1@users.noreply.github.com> Date: Fri, 16 Aug 2024 12:24:32 +0200 Subject: [PATCH] formatting --- src/valuefragments/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/valuefragments/helpers.py b/src/valuefragments/helpers.py index 62936aa..fb39f5e 100644 --- a/src/valuefragments/helpers.py +++ b/src/valuefragments/helpers.py @@ -430,10 +430,10 @@ async def run_grouped_in_ppe( @moduleexport def getselectedhreflinks( thebaseurl: str = "https://www.goc-stuttgart.de/event-guide/ergebnisarchiv", - theselector: str = '//a/@href[contains(string(), "fileadmin/ergebnisse/2024")]', # https://stackoverflow.com/q/78877951 + theselector: str = '//a/@href[contains(string(), "fileadmin/ergebnisse/2024")]', ) -> list[str]: """Parse HTML from URL for a-href matches by XPATH""" - # + # thesourcehtml: requests.Response = requests.get(url=thebaseurl, timeout=(5, 10)) # Connect Timeout 5s, 10s for transmission thelogger.debug(