title: How can I use the output of this code and the Telegram API to alert me of a new entry?
body: <p>I'm trying to scrape recent releases of movies with the URL. But I want to be notified of each new release. I also want to set a timer, let's say every two hours the script will check for a new movie release. If there's a new release, it would be sent to my Telegram bot. I have no idea on how to go about that yet.</p>
  <pre><code>from bs4 import BeautifulSoup
  from urllib.request import Request, urlopen
  
  req = Request(&quot;https://www.thenetnaija.com/videos/movies&quot;, headers={'User-Agent': 'XYZ/3.0'})
  webpage = urlopen(req, timeout=10)
  b4 = BeautifulSoup(webpage, &quot;html.parser&quot;)
  movie_list = b4.find_all(&quot;div&quot;, {&quot;class&quot; : &quot;video-files&quot;})
  for allContainers in movie_list:
      filmName = allContainers.find('img').get('alt')
  print(filmName)
  </code></pre>