public list fertig gestellt
This commit is contained in:
@@ -87,8 +87,8 @@ namespace CardmarketBot
|
||||
|
||||
foreach (string id in ids)
|
||||
{
|
||||
|
||||
Console.WriteLine(id);
|
||||
//if (id != "1121844928") continue;
|
||||
//Console.WriteLine(id);
|
||||
cd.Navigate().GoToUrl(string.Format(@"https://www.cardmarket.com/de/OnePiece/Orders/{0}", id));
|
||||
element = cd.FindElement(By.XPath("/html/body/main/section/div/div[1]/div/div[3]/div[2]/div[2]/div/div"));
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace CardmarketBot
|
||||
else
|
||||
{
|
||||
kunde.OverrideVersandskosten = element.Text;
|
||||
Console.WriteLine(@"Achtung bei ID {id} wurde kein Richtige Porto berechnet. Liegt es im Ausland?");
|
||||
Console.WriteLine($"Achtung bei ID {id} wurde kein Richtige Porto berechnet. Liegt es im Ausland?");
|
||||
}
|
||||
//kunde.Versandskosten = portoberechnung[element.Text];
|
||||
kunde.BestellungID = id;
|
||||
|
||||
Reference in New Issue
Block a user