MatthewChatham / glassdoor-review-scraper

Scrape reviews from Glassdoor
BSD 2-Clause "Simplified" License
180 stars 252 forks source link

NoSuchElementException - {"method":"css selector","selector":"time"} #53

Open chaoshengggg opened 3 years ago

chaoshengggg commented 3 years ago

image

Hey everyone, was just wondering if anyone has a fix for this problem?

JP-2000 commented 3 years ago

Same Issue here. Have you found any solution to resolve the issue?

Punith96 commented 3 years ago

Same here as well

Punith96 commented 3 years ago

Exception has occurred: NoSuchElementException Message: no such element: Unable to locate element: {"method":"css selector","selector":"time"} (Session info: chrome=95.0.4638.69) Stacktrace: Backtrace: Ordinal0 [0x00AC06F3+2492147] Ordinal0 [0x00A59BD1+2071505] Ordinal0 [0x00962478+1057912] Ordinal0 [0x0098C964+1231204] Ordinal0 [0x009834E1+1193185] Ordinal0 [0x009A57FA+1333242] Ordinal0 [0x00983466+1193062] Ordinal0 [0x009A58AA+1333418] Ordinal0 [0x009B4F38+1396536] Ordinal0 [0x009A568B+1332875] Ordinal0 [0x009821D4+1188308] Ordinal0 [0x0098302F+1191983] GetHandleVerifier [0x00C467A6+1545030] GetHandleVerifier [0x00CF105C+2243580] GetHandleVerifier [0x00B4BC97+518199] GetHandleVerifier [0x00B4AD80+514336] Ordinal0 [0x00A5ED2D+2092333] Ordinal0 [0x00A62EE8+2109160] Ordinal0 [0x00A63022+2109474] Ordinal0 [0x00A6CB71+2149233] BaseThreadInitThunk [0x752FFA29+25] RtlGetAppContainerNamedObjectPath [0x77137A9E+286] RtlGetAppContainerNamedObjectPath [0x77137A6E+238] File "E:\GitHub\Web Scrapping\Glassgoor-Reviews-PY\main.py", line 116, in scrape_date date = review.find_element_by_tag_name( File "E:\GitHub\Web Scrapping\Glassgoor-Reviews-PY\main.py", line 302, in scrape return fdictfield File "E:\GitHub\Web Scrapping\Glassgoor-Reviews-PY\main.py", line 322, in extract_review res[field] = scrape(field, review, author) File "E:\GitHub\Web Scrapping\Glassgoor-Reviews-PY\main.py", line 345, in extract_from_page data = extract_review(review) File "E:\GitHub\Web Scrapping\Glassgoor-Reviews-PY\main.py", line 492, in main reviews_df = extract_from_page() File "E:\GitHub\Web Scrapping\Glassgoor-Reviews-PY\main.py", line 516, in main()

glaupie commented 2 years ago

I have the same issue - any ideas anyone?