curl "https://www.ratsit.se/api/person/grannar/address/ciSJ0WCnF83-DITUOyiU2wI2XhKtPfyLfxFtp-eHBWs/Edeby%201/61191/Nyk%C3%B6ping"
curl "https://www.ratsit.se/api/person/grannar/address/ciSJ0WCnF83-DITUOyiU2wI2XhKtPfyLfxFtp-eHBWs/Edeby%201/61191/Nyk%C3%B6ping"
https://www.ratsit.se/api/person/grannar/address/ciSJ0WCnF83-DITUOyiU2wI2XhKtPfyLfxFtp-eHBWs/Edeby%201/61191/Nyk%C3%B6ping
https://www.ratsit.se/api/person/grannar/address/
/html/head/meta[6]
<meta property="og:url" content="https://www.ratsit.se/19470515-Melker_Yngve_Georg_Schorling_Nykoping/ciSJ0WCnF83-DITUOyiU2wI2XhKtPfyLfxFtp-eHBWs">
Edeby%201/61191/Nyk%C3%B6ping
<v-villa-grannar name="Melkers" url="/api/person/grannar/address/ciSJ0WCnF83-DITUOyiU2wI2XhKtPfyLfxFtp-eHBWs/Edeby%201/61191/Nyk%C3%B6ping" pnr="19470515-XXXX" returnurl="https://www.ratsit.se/loggain?returnUrl=/19470515-Melker_Yngve_Georg_Schorling_Nykoping/ciSJ0WCnF83-DITUOyiU2wI2XhKtPfyLfxFtp-eHBWs"></v-villa-grannar>
url="/api/person/grannar/address/ciSJ0WCnF83-DITUOyiU2wI2XhKtPfyLfxFtp-eHBWs/Edeby%201/61191/Nyk%C3%B6ping"
https://www.ratsit.se/api/person/grannar/address/ciSJ0WCnF83-DITUOyiU2wI2XhKtPfyLfxFtp-eHBWs/Edeby%201/61191/Nyk%C3%B6ping
https://www.ratsit.se/api/person/grannar/address/
/html/head/meta[6]
<meta property="og:url" content="https://www.ratsit.se/19470515-Melker_Yngve_Georg_Schorling_Nykoping/ciSJ0WCnF83-DITUOyiU2wI2XhKtPfyLfxFtp-eHBWs">
Edeby%201/61191/Nyk%C3%B6ping
<v-villa-grannar name="Melkers" url="/api/person/grannar/address/ciSJ0WCnF83-DITUOyiU2wI2XhKtPfyLfxFtp-eHBWs/Edeby%201/61191/Nyk%C3%B6ping" pnr="19470515-XXXX" returnurl="https://www.ratsit.se/loggain?returnUrl=/19470515-Melker_Yngve_Georg_Schorling_Nykoping/ciSJ0WCnF83-DITUOyiU2wI2XhKtPfyLfxFtp-eHBWs"></v-villa-grannar>
url="/api/person/grannar/address/ciSJ0WCnF83-DITUOyiU2wI2XhKtPfyLfxFtp-eHBWs/Edeby%201/61191/Nyk%C3%B6ping"
// Waits for accomodation info to (maybe) have loaded bool accElementFound = false; DateTime endTime = DateTime.Now.AddSeconds(20); while (DateTime.Now < endTime) { try { // Check for the presence of the accomodation element IWebElement accElement = driver.FindElement(By.XPath("//*[@id=\"gtm-personrapport\"]/div/div[2]/div[19]/div[1]/div[1]/div/p[2]")); accElementFound = true; break; } catch (NoSuchElementException) { // The element was not found yet; continue waiting } // Wait for the check interval before trying again Thread.Sleep(TimeSpan.FromSeconds(0.5)); } // Checks if accomodation info is present if (accElementFound is false) { continue; }
// Waits for accomodation info to (maybe) have loaded bool accElementFound = false; DateTime endTime = DateTime.Now.AddSeconds(20); while (DateTime.Now < endTime) { try { // Check for the presence of the accomodation element IWebElement accElement = driver.FindElement(By.XPath("//*[@id=\"gtm-personrapport\"]/div/div[2]/div[19]/div[1]/div[1]/div/p[2]")); accElementFound = true; break; } catch (NoSuchElementException) { // The element was not found yet; continue waiting } // Wait for the check interval before trying again Thread.Sleep(TimeSpan.FromSeconds(0.5)); } // Checks if accomodation info is present if (accElementFound is false) { continue; }
Du måste vara medlem för att kunna kommentera
Flashback finansieras genom donationer från våra medlemmar och besökare. Det är med hjälp av dig vi kan fortsätta erbjuda en fri samhällsdebatt. Tack för ditt stöd!
Swish: 123 536 99 96 Bankgiro: 211-4106