- Регистрация
- 16.03.2013
- Сообщения
- 231
- Благодарностей
- 36
- Баллы
- 28
Soo .. first of all thank you for stopping by ... now .. i have this problem, that i'm trying to figure it out, I managed to find a fix but it's nowhere near perfect. Basically i want to take a vehicle from the website and post it back on it.
I'm trying to replicate ads on this website and they have this drop down menu, on year, make and model
The year part i managed to get it working with
it's working because there aren't so many options, but on the make and model part there are more then a few hundreds options. So i'm trying to make it select automatically.
This is how an ad looks like.
I need the above details to be parsed, wich i parse them and transform them to automatically fill the fields below
Is there any other way to select them based on the text and not on the value ( 1,2,3,4,5, etc) because the Marque (Make) ther are 60-80 selections then the Modele is waaay bigger. I know it can be done, but i dont know how.
any help would be greatly appriciated.
I'm trying to replicate ads on this website and they have this drop down menu, on year, make and model
The year part i managed to get it working with
Код:
return "2018|1,2017|2,2016|3,2015|4,2014|5,2013|6,2012|7,2011|8,2010|9,2009|10,2008|11,2007|12".Split(',').First(s=>s.Contains(project.Variables["year"].Value)).Split('|')[1];
This is how an ad looks like.
I need the above details to be parsed, wich i parse them and transform them to automatically fill the fields below
Is there any other way to select them based on the text and not on the value ( 1,2,3,4,5, etc) because the Marque (Make) ther are 60-80 selections then the Modele is waaay bigger. I know it can be done, but i dont know how.
any help would be greatly appriciated.