You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following the documentation however this part does not seem to work anymore
It is not necessary but just for the purpose of this example let’s scrape the title of a news article from the article detail page. On an article detail page the headline of the article is enclosed by a <h1> tag with an id named ‘firstHeading’. So //h1[@id="firstHeading"]/text() should give us the headline. Since we want to scrape from the detail page, we have to activate the ‘from_detail_page’ check box.
Is there an alternative way to do this? I would like to get the description of the full article how can I access this all within the same scraper?
//h1[@id="firstHeading"]/text() is not working anymore.
You will get this output: dynamic_scraper.models.DoesNotExist: RequestPageType matching query does not exist.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hello,
I am following the documentation however this part does not seem to work anymore
It is not necessary but just for the purpose of this example let’s scrape the title of a news article from the article detail page. On an article detail page the headline of the article is enclosed by a <h1> tag with an id named ‘firstHeading’. So //h1[@id="firstHeading"]/text() should give us the headline. Since we want to scrape from the detail page, we have to activate the ‘from_detail_page’ check box.
Is there an alternative way to do this? I would like to get the description of the full article how can I access this all within the same scraper?
//h1[@id="firstHeading"]/text()
is not working anymore.You will get this output:
dynamic_scraper.models.DoesNotExist: RequestPageType matching query does not exist
.Thanks in advance!
The text was updated successfully, but these errors were encountered: