import requests
import pprint
from bs4 import BeautifulSoup

URL = 'http://www.paulgraham.com/articles.html'
page = requests.get(URL)

soup = BeautifulSoup(page.content, 'html.parser')
results = soup.select("img + font > a[href]")
results[len(results)-1].get('href')

soup1 = BeautifulSoup(requests.get('http://www.paulgraham.com/' + results[0].get('href')).content, 'html.parser')
results1 = soup1.select("font")
essay = results1[0].get_text(' ')
essay1 = essay.replace('\r\n', ' ')
print(essay1)
dccfa9297054578ea3772131ed69a9cef4186176
<mask token>

<mask token>
results[len(results) - 1].get('href')
<mask token>
print(essay1)

<mask token>
URL = 'http://www.paulgraham.com/articles.html'
page = requests.get(URL)
soup = BeautifulSoup(page.content, 'html.parser')
results = soup.select('img + font > a[href]')
results[len(results) - 1].get('href')
soup1 = BeautifulSoup(requests.get('http://www.paulgraham.com/' + results[0
    ].get('href')).content, 'html.parser')
results1 = soup1.select('font')
essay = results1[0].get_text(' ')
essay1 = essay.replace('\r\n', ' ')
print(essay1)

import requests
import pprint
from bs4 import BeautifulSoup
URL = 'http://www.paulgraham.com/articles.html'
page = requests.get(URL)
soup = BeautifulSoup(page.content, 'html.parser')
results = soup.select('img + font > a[href]')
results[len(results) - 1].get('href')
soup1 = BeautifulSoup(requests.get('http://www.paulgraham.com/' + results[0
    ].get('href')).content, 'html.parser')
results1 = soup1.select('font')
essay = results1[0].get_text(' ')
essay1 = essay.replace('\r\n', ' ')
print(essay1)

import requests
import pprint
from bs4 import BeautifulSoup

URL = 'http://www.paulgraham.com/articles.html'
page = requests.get(URL)

soup = BeautifulSoup(page.content, 'html.parser')
results = soup.select("img + font > a[href]")
results[len(results)-1].get('href')

soup1 = BeautifulSoup(requests.get('http://www.paulgraham.com/' + results[0].get('href')).content, 'html.parser')
results1 = soup1.select("font")
essay = results1[0].get_text(' ')
essay1 = essay.replace('\r\n', ' ')
print(essay1)