How can I scrape a drop down menu ?

48 views
Skip to first unread message

Carol Vieira

unread,
Dec 8, 2021, 4:00:56 PM12/8/21
to beautifulsoup
https://stackoverflow.com/questions/70278683/how-do-i-parse-the-data-from-a-drop-down-menu-options-with-selenium-and-beautifu?noredirect=1#comment124238367_70278683

All the options  on the drop down menu have the same tag names and classes names but when I loop through it only returns the values for the first option,how can I find the other values?

facelessuser

unread,
Dec 9, 2021, 9:40:02 AM12/9/21
to beautifulsoup
Unfortunately, without a minimal, reproducible example, it is difficult to make any suggestions. Right now, I could only guess. The linked thread doesn't provide a downloadable URL of the data and you provide a non-copy/pastable image as well.
Reply all
Reply to author
Forward
0 new messages