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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -