Files

8 lines
228 B
Python
Raw Permalink Normal View History

2019-03-15 10:20:44 -04:00
#!/usr/bin/python3
import requests
from bs4 import BeautifulSoup
def getDuo():
url = "https://www.theyfightcrime.org/"
html = BeautifulSoup(requests.get(url).content, "html.parser")
return html.findAll('p')[1].text