Having Trouble scraping
<p>I want to scrape automatetheboringstuff.com and output all of the practice projects and store them into a file. Eventually I want my code to move from one page to the next searching for practice projects, but right now im just trying to get beautifulsoup to pull output the practice projects on one page. It is not working though. i just get a blank [].</p>

<p>here's my code so far.</p>

<pre><code>def pageDownload(webPage):
    # Downloads the page

    while not url.endswith('appendixc'):
        print('Downloading page %s...' % url)
        res = requests.get(url)
        res.raise_for_status()

        soup = bs4.BeautifulSoup(res.text)

        return soup

def getProjects(downloadedPage):
    # gets the projects contents

    soup = downloadedPage
    book =  soup.find_all('p', attrs={'title' : 'Practice Projects'})
    print(book)
</code></pre>