Podcast searcher
Search any podcast in iTunes library
podsearch finds podcasts via iTunes Search API.
Search parameters:
- query - search string (name, author etc)
- country - ISO alpha-2 country code (us, de, fr etc), default: us
- limit - maximum number or search results, default: 5
Returned attributes for each podcast:
- id - iTunes ID (e.g.,
979020229) - name - podcast name (
Talk Python To Me) - author - author name (
Michael Kennedy (@mkennedy)) - url - Apple Podcasts URL (
https://podcasts.apple.com/us/podcast/id979020229) - feed - podcast RSS URL (
https://talkpython.fm/episodes/rss) - category - main category (
Technology) - image - 600x600px image URL (
https://is4-ssl.mzstatic.com/image/.../600x600bb.jpg) - country - ISO alpha-3 country code (
USA) - episode_count - episode count this year (
26)
Installation
pip install podsearch
Usage
Search podcasts by query:
>>> import podsearch
>>> podcasts = podsearch.search("python", country="us", limit=10)
>>> podcasts[0].name
'Talk Python To Me'
>>> podcasts[0].author
'Michael Kennedy (@mkennedy)'
>>> podcasts[0].url
'https://podcasts.apple.com/us/podcast/id979020229'
Retrieve podcast by iTunes ID:
>>> import podsearch
>>> podcast = podsearch.get(979020229)
>>> podcast.name
'Talk Python To Me'
Development setup
$ python3 -m venv env
$ . env/bin/activate
$ make deps
$ tox
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Make sure to add or update tests as appropriate.
Use Black for code formatting and Conventional Commits for commit messages.
Changelog
License
Release files for podsearch 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| podsearch-0.3.0.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| podsearch-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / podsearch-0.3.0.tar.gz
| Download URL | podsearch-0.3.0.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa7125f16db6965690e165d86b46b764171d543a9b8939541186dbfedd1fe5ec
|
|
BLAKE2b-256 checksum How to use checksums |
f6afba37a98c9d6faa08384c0fa782444eda4dd8d98fa106338244b75f868459
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.24.0
|
Release files / podsearch-0.3.0-py3-none-any.whl
| Download URL | podsearch-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8bca90f5103817df2145311b5911a1160f6f1ba9ecf4f4302209fd03c0e6c9e
|
|
BLAKE2b-256 checksum How to use checksums |
09ce4b00a43c4a40444c30d1d10ea7030256044f1c639abff4ea696a73d35f6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.24.0
|