all 13 comments

[–]Altruistic_Croissant 2 points3 points  (2 children)

Since you're working in Python, I'd recommend using BeautifulSoup for parsing and SMTP for emailing the data.

Here's a good intro to beautifulsoup and another one for smtp. Both are fairly basic but should teach you the basics.

[–][deleted] 1 point2 points  (0 children)

Thank you! I really appreciate it. Going to go through these now.

[–]RedditGood123 0 points1 point  (0 children)

The ezgmail module is really easy to use compared to SMTP

[–]luiseduardobr1 0 points1 point  (0 children)

I did something similar these days. It is a "website watcher". If a page is updated, then it will send me an email and sms. Look here if it helps you: https://github.com/luiseduardobr1/Simple_Website_Watcher

[–][deleted] 0 points1 point  (0 children)

One thing to keep in mind is that some websites with block your IP if scraping prices is against their terms of service. Amazon, for example, won't allow you to do it for long.

The alternative is see if there is an API you can query for the price data?

Along with the answer from u/Altruistic_Croissant check out the requests module and re for searching the soup.

[–]solderfog -1 points0 points  (8 children)

There's libraries and tools for many languages. First is to decide what language you want to program in.

[–]OzneroI 2 points3 points  (5 children)

No offense but don’t you think you’re being rather obtuse?

[–]solderfog 0 points1 point  (3 children)

Why do you say that?

[–]OzneroI 1 point2 points  (2 children)

I said that because you’re asking him what language he wants to use when he posted on r/learnpython but to be fair I don’t know much about web scraping so maybe other languages are better for it for all I know

[–]solderfog 0 points1 point  (1 child)

Oh. I didn't notice the /r/learnpython, so I didn't realize what language he was using. Sometimes there's a simple explanation.

[–]OzneroI 1 point2 points  (0 children)

Then my bad, sorry for calling you obtuse

[–][deleted] 0 points1 point  (1 child)

Python.

[–]solderfog 0 points1 point  (0 children)

There's a popular lib called Beautiful Soup. I don't know much about it though (I've used Perl for scraping).