![Google News Scraper avatar](https://images.apifyusercontent.com/TJ-PRmT3U0bucefdZ7dcLiNFb5lSTNguXCoZ2rP5Z4s/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9lV1VFVzVZcENhQ0JBYTBacy9UalhLY1B0YWpaM2R2ZEhKaS1Hb29nbGVfTmV3c19pY29uLnBuZw.webp)
7 days trial then $20.00/month - No credit card required now
![Google News Scraper](https://images.apifyusercontent.com/TJ-PRmT3U0bucefdZ7dcLiNFb5lSTNguXCoZ2rP5Z4s/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9lV1VFVzVZcENhQ0JBYTBacy9UalhLY1B0YWpaM2R2ZEhKaS1Hb29nbGVfTmV3c19pY29uLnBuZw.webp)
Google News Scraper
7 days trial then $20.00/month - No credit card required now
Gets featured articles from Google News with title, link, source, publication date and image.
scraper returning wrong links
Closed
The scraper is returning wrong links "https://news.google.com/rss/articles/CBMib2h0dHBzOi8vd3d3LnBybmV3c3dpcmUuY29tL25ld3MtcmVsZWFzZXMvYW1lcmljYW4tY2VudHVyeS1sYXVuY2hlcy1jYWxpZm9ybmlhLW11bmljaXBhbC1ib25kLWV0Zi0zMDIyMDAyMzcuaHRtbNIBAA?oc=5&hl=en-IN&gl=IN&ceid=IN:en"
starting with "https://news.google.com/"
on clicking this link you get redirected to the correct website. This is breaking all my flows, this has been happening since last week, I was getting correct links before that
dynamic_harvest
After
dynamic_harvest
Before
![lhotanova avatar](https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/BnBZNJNFPNnX9poHk/KJaCSiN7hWOCfNb2e-tablo_photo_result_1.jpg)
Kristýna Lhoťanová (lhotanova)
Hello, thank you for reporting this bug and I'm sorry for a late reply. I'm currently reworking the Actor to address this issue as well as other bugs. I'll keep you updated about the progress here.
![lhotanova avatar](https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/BnBZNJNFPNnX9poHk/KJaCSiN7hWOCfNb2e-tablo_photo_result_1.jpg)
Kristýna Lhoťanová (lhotanova)
Hi again, there has been a recent change of Google News API that caused this bug. The Actor has been fixed today, see the example run: https://console.apify.com/view/runs/oqDhZjFezcTVZHdAi
The Actor first extracts the links in the https://news.google.com/
format from the API, then it decodes them to the actual target links and opens the target pages to extract preview images. It needs to be done this way because the Actor doesn't use a web browser that could resolve the redirects automatically. It uses HTTP requests only to keep the expenses low.
Google News has recently made the encoding of target URLs more difficult to deal with, so the Actor now uses rather a hacky way to decode the links. Hopefully the Google News API will be stable now and won't break the Actor's flow again.
If you encounter any other issues, please report them using new issue threads 🙏
- 64 monthly users
- 8 stars
- 100.0% runs succeeded
- 18 days response time
- Created in Oct 2022
- Modified 8 days ago