scraper client for the This American Life website
Project description
this american client
The This American Life client library.
Get structured data on transcripts, episodes, et c without worrying about all of the web scraping details. Intermediate results are cached to keep it snappy.
Install
pip install this-american-life
Using the client
Everything starts with the import
from thisamericanlife import ThisAmericanLife
tal = ThisAmericanLife()
Get the episode and act summaries
ep_one = tal.episodes.get(episode_number=1)
print('Title : ' + ep_one.title)
print('Date on air : ' + ep_one.date_on_air)
print('Description : ' + ep_one.description)
# the name and short description of each act
print(ep_one.act_summaries)
Get the transcript of an episode
ep_one_transcript = tal.transcripts.get(episode_number=1)
print(ep_one_transcript.transcript)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for this_american_life-0.2.0-py3.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | f912603d9b4a88d55269e039536618d0dc06bc09b3943bf5bbf61a0279612d5f |
|
MD5 | a33aac4440b754ed8230d1e408eda7bd |
|
BLAKE2b-256 | fe11f4557365f70c42a704f794c890523c9112dd95d465c3cf5f0f90fd5d88b6 |
Close
Hashes for this_american_life-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f4369d9825e88f8195321790f7361ae9ac70f5290d75adaf2f9c934dc31d07f |
|
MD5 | da6dae865f3338986f19491ff4c134b8 |
|
BLAKE2b-256 | 77d280d0bad86da5c3c0bd7b01aef474bb246b2e056352ca6d62890fd8241148 |