Skip to content

Commit

Permalink
Merge pull request #5 from axi0m/update/anatole
Browse files Browse the repository at this point in the history
Update anatole theme, update podcasts.md text
  • Loading branch information
axi0m authored Feb 22, 2024
2 parents 0fa9a58 + 79814a7 commit a23a260
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
25 changes: 17 additions & 8 deletions content/posts/podcasts.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,27 @@ Thus I wrote a small python podcast downloader that takes the RSS URL, parses th

A few packages that I found super useful when writing this are:

```python
rich
feedparser
requests
pathlib
argparse
- rich
- feedparser
- requests
- pathlib
- argparse

`argparse` and `pathlib` are part of the standard library but Rich, Feedparser and Requests you'll have to install.

## Install dependencies

```cmd
poetry add feedparser
poetry add rich
poetry add requests
poetry install
```

Argparse and pathlib are part of the standard library but rich, feedparser and requests you'll have to install or use a Pipenv/requirements.txt file to get if necessary. An example of running this after the dependencies are installed.
## Example run

```cmd
pipenv run python .\download_podcast_episodes.py --directory "C:\Podcasts\"
poetry run python .\download_podcast_episodes.py "C:\Podcasts\"
```

Example output if you enable warnings just to verify you've already got files downloaded.
Expand Down
Loading

0 comments on commit a23a260

Please sign in to comment.