Parsehub not selecting price for all dorp down menu

66 views
Skip to first unread message

Sejan ahammed

unread,
May 5, 2023, 12:14:04 PM5/5/23
to Web Scraping
I'm trying to scrape a website which has 2 dropdown menus. Which has different price for different selections. But parsehub selects price for the first selection and doesn't update the price for other selections. 

Andrew11

unread,
May 5, 2023, 6:18:30 PM5/5/23
to Web Scraping
What is the url?

Sejan ahammed

unread,
May 6, 2023, 3:25:20 AM5/6/23
to Web Scraping

Andrew11

unread,
May 6, 2023, 8:29:54 AM5/6/23
to Web Scraping
Seems to work in Browse mode, where you load the url in the preview pane and hit CTRL-B. If you nest 2 selects using CSS, and with rooted selection checkbox marked, the outer one:

#pa_material option:not(:first)

Inner one:

#pa_seat-option option:not(:first)

And the first action in each one is a Click with AJAX & Continue current template, it should work... post again if it doesn't.

Sejan ahammed

unread,
May 8, 2023, 2:30:48 AM5/8/23
to Web Scraping
Hi Andrew11.
I've tried this but its still not working.Screenshot 2023-05-08 122904.png

Melissa Edwards

unread,
May 8, 2023, 10:10:50 AM5/8/23
to Web Scraping
Hello, 

Thank you for contacting us. Can you please reach out to us in support so we can assist you with your project? 

Alternatively, you can always book a demo with us: https://calendly.com/melissaph/30min

Melissa

Andrew11

unread,
May 8, 2023, 1:53:00 PM5/8/23
to Web Scraping
Are you sure you need the separate Select Material and Select options inside there? My CSS selector just selects the options in one go. Melissa can probably walk you through it.

Melissa Edwards

unread,
May 8, 2023, 2:24:14 PM5/8/23
to Web Scraping
Do you want to scrape all dynamic combinations or just a specific one? 

You can check out this tutorial on how to accomplish this: 



If you still require help, please reach out to us for support. 

Thank you!

Sejan ahammed

unread,
May 9, 2023, 5:11:15 AM5/9/23
to Web Scraping
It's scraping the option name but not clicking through options.

Melissa Edwards

unread,
May 9, 2023, 10:09:07 AM5/9/23
to Web Scraping
Thank you for your response. 

Please save the project on your end and give me the project name so I can have access to your project. 

Andrew11

unread,
May 9, 2023, 1:15:10 PM5/9/23
to Web Scraping
Here you go! There was some AJAX trickery in the site which I think made Select commands lose their relevance after the next click. So this is kind of a variation on ParseHub's AJAX tutorial.
supafitseatcovers.com.au_Project.zip

Sejan ahammed

unread,
May 10, 2023, 4:33:28 AM5/10/23
to Web Scraping
It worked Thanks Andrew.
Reply all
Reply to author
Forward
0 new messages