Created
July 9, 2021 17:54
-
-
Save llSourcell/d6e98592bf83e7a462e2218107b89ec4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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