Skip to content

Instantly share code, notes, and snippets.

@llSourcell
Created July 9, 2021 17:54
Show Gist options
  • Save llSourcell/d6e98592bf83e7a462e2218107b89ec4 to your computer and use it in GitHub Desktop.
Save llSourcell/d6e98592bf83e7a462e2218107b89ec4 to your computer and use it in GitHub Desktop.
import requests # step 1 - pull data from Web
import threading
from bs4 import BeautifulSoup # step 2 - parse
print(final.title)
print(final.question_1)
print("hello")
def printit():
threading.Timer(86400.0, printit).start()
OCHCA_FAQ = 'https://occovid19.ochealthinfo.com/covid-19-general-faqs'
all_faq_data = requests.get(OCHCA_FAQ)
final = BeautifulSoup(all_faq_data.text, 'html.parser')
printit()
#-----------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment