Coding a bot that reads the news (Python tutorial)

///Coding a bot that reads the news (Python tutorial)

Coding a bot that reads the news (Python tutorial)

FavoriteLoadingAdd to favorites

Learn algorithms from me in Python here (:

Remember! To scrape MOST sites you will need to use a headless browser like Selenium or Puppeteer for the source step.

The code ~

Libraries used (pip install these) ~
requests
beautiful soup 4
smtplib
redis

Links ~
use gmail via python guide:

==========================
And some good Python Courses
==========================
Python for Beginners

Python for Automation

Python for Finance / Data Analysis

(note these are affiliate links, same price for you but I may make a little $)

#python #tutorial #automation

source

By |2020-08-20T09:00:23+00:00August 20th, 2020|Python Video Tutorials|45 Comments

45 Comments

  1. Demosthenes August 20, 2020 at 9:00 am - Reply

    Yo what's your VSCODE theme ?? I love that font

  2. Syed Murad August 20, 2020 at 9:00 am - Reply

    Very nice…..

  3. PX Monetizze August 20, 2020 at 9:00 am - Reply

    Best video ever

  4. Mesophyl August 20, 2020 at 9:00 am - Reply

    Use Feedly for aggragating services and news It's pretty awesome

  5. Tom T August 20, 2020 at 9:00 am - Reply

    Hey man, I like your news feed. But, can you make more content like this?

  6. Cyril F. August 20, 2020 at 9:00 am - Reply

    Thanks so much for that dude! Business idea was there already and now you open the path to make it happened. Trying to created custom curated newsletter for our readers.. Hopefully can make it work and will update once completed…

  7. kattengustav1 August 20, 2020 at 9:00 am - Reply

    the keywords shouldent be case sensetive, how to fix?

  8. Miguel Domingos August 20, 2020 at 9:00 am - Reply

    The hacker news website looks horrible(styling)!

  9. PUBG Play of the Game August 20, 2020 at 9:00 am - Reply

    Google news feed does this

  10. tk Remi August 20, 2020 at 9:00 am - Reply

    Thanks for this ! What's this IDE ?

  11. dejohnny2 August 20, 2020 at 9:00 am - Reply

    I liked it. Good stuff.

  12. varun garg August 20, 2020 at 9:00 am - Reply

    Can you make a selenium script that reads emails

  13. The Knowledge Express August 20, 2020 at 9:00 am - Reply

    good knowledge of automation

  14. Leo Truman August 20, 2020 at 9:00 am - Reply

    As another guy has asked too, I know the secrets, but there is no module called passwords in secrets , so it must be yours only , can you talk about it a little bit more please .
    And by the way thanks for amazing videos I'm a big fan

  15. Peter Pan August 20, 2020 at 9:00 am - Reply

    i got this error: ImportError: cannot import name 'password' from 'secrets' .. and i really dont know why.

  16. xavi August 20, 2020 at 9:00 am - Reply

    Great stuff as usual mate! I'll defintely take your algorithms course as soon as I can!

  17. D S August 20, 2020 at 9:00 am - Reply

    Love the damn thumbnail

  18. Tiago Lunardi August 20, 2020 at 9:00 am - Reply

    When I type s.email() or s.saved_links it does not show anything, only [ ]. Can someone tell me why?

  19. Madukoma Blessed August 20, 2020 at 9:00 am - Reply

    Hello, I tried this but I'm getting an issue of STARTTLS extension is not support…any help please?

  20. Stev August 20, 2020 at 9:00 am - Reply

    can i do that with using Processing IDE/ “java” ?

  21. Timothy Johnson August 20, 2020 at 9:00 am - Reply

    Is it just me or does the cover look creepy?

  22. TN TN August 20, 2020 at 9:00 am - Reply

    I'm not sure about using only "hour" as a scheduler as it might nuke your mail for an entire hour. Other than that good tut, thnx.

  23. gtwilliamswashu August 20, 2020 at 9:00 am - Reply

    Nice work! Question: How could you avoid duplicate stories if you add several sources? Titles can be worded differently but effectively tell the dame story, so I can't check for "same title" or "same link". Is there an algo that weighs words in two titles and assigns likelihood of "same story"?

  24. Taner Ktaf August 20, 2020 at 9:00 am - Reply

    for safety reasons, you just can register a disposable email like tempail.com and get your news from there.

  25. TheBinaryGuy August 20, 2020 at 9:00 am - Reply

    "Less negative people and better content." Every site that if not reddit.

  26. Tony Chen August 20, 2020 at 9:00 am - Reply

    I swear code drip looks like mr beast for some reason xD.

  27. toni August 20, 2020 at 9:00 am - Reply

    Hey!
    What font do you use? Your VS Code Setup is amazing.

  28. Navshita Sorixit August 20, 2020 at 9:00 am - Reply

    Thank you for posting. Can you expand on redis integration here? I used the pip install method and get authentication errors that require additional installations or configurations.

  29. krakk August 20, 2020 at 9:00 am - Reply

    Points to a news websites: This is like Reddit but with better content
    Me:😑 ok boomer

  30. Игорь Кузнецов August 20, 2020 at 9:00 am - Reply

    It'll be great if you show in one of your next videos how to setup and work with redis especially at windows!

  31. DSK August 20, 2020 at 9:00 am - Reply

    You need to work a little bit on your communication

  32. Shawn Humphreys August 20, 2020 at 9:00 am - Reply

    Was thinking of making this using JavaScript last week but got shut down from girlfriend saying I'm wasting time, I need to keep my head on my courses in my coding bootcamp

  33. 11 00 August 20, 2020 at 9:00 am - Reply

    I do a diferentes program but it’ s very similar and round the News in the marketwatch and Yahoo finance

  34. Sick Boy August 20, 2020 at 9:00 am - Reply

    this project 👍

  35. Ayman AIS August 20, 2020 at 9:00 am - Reply

    Is it just me or does it seem hard to read your face and emotions? Just sth unique I found about u

  36. Ayman AIS August 20, 2020 at 9:00 am - Reply

    I like this new style of your videos!! It makes your tutorials very engaging

  37. DevOps Directive August 20, 2020 at 9:00 am - Reply

    Nice video! FYI — Hacker News provides a free API (https://github.com/HackerNews/API) if you wanted to bypass the scraping/parsing step!

  38. MC August 20, 2020 at 9:00 am - Reply

    I was wondering why are classes used here? I just learned about OOP, I understand the concept but don't really know when it is used. I see it in a lot of your videos (including the instagram and tinder bots ones, which were super interesting!) so I'm curious!

  39. Marko August 20, 2020 at 9:00 am - Reply

    Hey Aaron! Really nice work you are doing there. What struck me the most is the animations you started using as of late (last ~10 videos or so). Is it possible to know what software you are using to create animations? These look really cool and I think i could use something like this as I plan to start creating videos!
    Cheers 😀

  40. stride August 20, 2020 at 9:00 am - Reply

    What theme are you using?Edit: The theme he's using is Horizon along the Dank Mono font.

  41. sahil ansari August 20, 2020 at 9:00 am - Reply

    Bro I am from India can you develop an online video conferencing app
    For me?

  42. Himanshu Upadhyay August 20, 2020 at 9:00 am - Reply

    Hyyy. U r just awesome 👏✊👍 and i m the most inspired person from you stuff and also i quit my job and started coding 😁 and every day i used to watch your videos to stay tuned 😇

  43. Using Vanced, plz don't ban August 20, 2020 at 9:00 am - Reply

    Can someone timestamp the final output of his code?

  44. collins anele August 20, 2020 at 9:00 am - Reply

    Do you know that you are a good teacher?
    Nice video mate

  45. Ajith Antony August 20, 2020 at 9:00 am - Reply

Leave A Comment

*