Closed dnass closed 6 years ago
The "See Ad Performance" button text is different on certain thumbnails, which causes the scraper to throw an error. Using ad_div.find_element_by_partial_link_text rather than ad_div.find_element_by_link_text matches either type of button.
ad_div.find_element_by_partial_link_text
ad_div.find_element_by_link_text
Thanks @dnass!
No problem! Thanks for building this.
The "See Ad Performance" button text is different on certain thumbnails, which causes the scraper to throw an error. Using
ad_div.find_element_by_partial_link_text
rather thanad_div.find_element_by_link_text
matches either type of button.