web scraping - Can't get the certain item using selector -


how can article , nothing else using css selector elements available in below link. use selector in parser written in python.

i tried like:

div.user-review p 

using above selector other things don't want. want article.

here link leading elements containing article: "https://www.dropbox.com/s/readzjpl0bca3zr/elements.txt?dl=0"

try below css selector , let me know if doesn't fetch desired output:

div.user-review p.lnhgt ~p 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -