AxCis
Posts: 1
Joined: Tue Aug 16, 2016 10:08 pm

Website scanner

Tue Aug 16, 2016 10:14 pm

Hi guys I'm new here and i just got my first pi and I was wondering if you guys could help me out.

So I saw this guide http://videos.cctvcamerapros.com/digita ... ry-pi.html
and I was wondering if you could do something with push notifications, but I want it to scan a website like ebay for new posts every 2 minutes and send me a push notification for a search term I put in like: fishing pole or something. Like for example you have 103 posts about fishing poles and 5 minutes later a guy posts another fishing pole on ebay for example and now you have 104 and my raspberry pi scans that and says new post and sends me notification. How can i do that? any guides?

I hope you guys can help. Thanks!

mfa298
Posts: 1387
Joined: Tue Apr 22, 2014 11:18 am

Re: Website scanner

Thu Aug 18, 2016 9:44 am

AxCis wrote:Hi guys I'm new here and i just got my first pi and I was wondering if you guys could help me out.

So I saw this guide http://videos.cctvcamerapros.com/digita ... ry-pi.html
and I was wondering if you could do something with push notifications, but I want it to scan a website like ebay for new posts every 2 minutes and send me a push notification for a search term I put in like: fishing pole or something. Like for example you have 103 posts about fishing poles and 5 minutes later a guy posts another fishing pole on ebay for example and now you have 104 and my raspberry pi scans that and says new post and sends me notification. How can i do that? any guides?

I hope you guys can help. Thanks!
What your talking about is generally known as scraping, how easy it is depends on the website your trying to get information from. On bigger sites there's sometimes an easier way as they provide an api designed for getting information out. An API usually lets you pass in a structured query and then get structured data back out (often in the form of a json document), this is then easy to parse in your software (compared to scraping a web page which can be difficult).

In the case of eBay their API looks to use XML and there's some documentation at https://go.developer.ebay.com/what-ebay-api

Return to “Beginners”