javascript - "ev" element in an html file, what is it and how to parse? -


i trying locate , scrape number of "comments" given review in page: https://www.goodreads.com/book/show/2767052-the-hunger-games

looks regular response call wont' work in case. have tried: response.xpath("div1/div[3]/div1/a[2]/text()").re(r'.*(\d)\s.*')

response.xpath("div1/div[3]/div1/a[2]/text()").re(r'(\d)\s.*')

response.xpath("div1/div[3]/div1/a[2]/text()").response

nothing returned

the page source (elements) shows there "ev" element. offer clue how approach problem? picture attached.

enter image description here

enter image description here

that's not element. debugger tool allows know element (a tag in example) have javascript events.

whenever use event on element debugger tool place ev there can know there event attached.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -