overcast-downloader
13 months agoFix cross-device links development
Alex Chan [Sat, 28 Nov 2020 23:49:45 +0000 (23:49 +0000)]
Fix cross-device links

13 months agoHandle cross-device renames
Alex Chan [Sat, 28 Nov 2020 23:45:55 +0000 (23:45 +0000)]
Handle cross-device renames

23 months agoRefactor to be more time/space efficient
Alex Chan [Thu, 20 Feb 2020 08:38:43 +0000 (08:38 +0000)]
Refactor to be more time/space efficient

* If two episodes have different Overcast IDs but the same MP3 URL,
  they might be the same or they might be different (it's a bit fiddly
  to tell; less likely now I disambiguate on the basis of titles, but
  still).  If the two MP3s are byte-for-byte identical, don't keep
  multiple copies.

* If the RSS feed hasn't changed since the last fetch, don't store a
  second copy.

* Track episodes we've already downloaded in a sqlite database, so
  we don't have to redownload the MP3 to know it's the same.  This makes
  subsequent runs of the script much faster.

23 months agoImprove the details in some of the logging
Alex Chan [Wed, 19 Feb 2020 20:36:39 +0000 (20:36 +0000)]
Improve the details in some of the logging

23 months agoDownload episode files concurrently, not in serial
Alex Chan [Wed, 19 Feb 2020 20:36:25 +0000 (20:36 +0000)]
Download episode files concurrently, not in serial

2 years agoFix a couple of missing references
Alex Chan [Tue, 28 Jan 2020 07:50:36 +0000 (07:50 +0000)]
Fix a couple of missing references

2 years agoAdd a script for downloading all the episodes in an RSS feed
Alex Chan [Sun, 12 Jan 2020 13:20:51 +0000 (13:20 +0000)]
Add a script for downloading all the episodes in an RSS feed

Closes #2

2 years agoOops, got that number wrong
Alex Chan [Sun, 12 Jan 2020 09:05:44 +0000 (09:05 +0000)]
Oops, got that number wrong

2 years agoAdd some more accurate download stats
Alex Chan [Sun, 12 Jan 2020 09:04:54 +0000 (09:04 +0000)]
Add some more accurate download stats

2 years agoGrab a copy of the RSS feed whenever I download new episodes
Alex Chan [Sat, 4 Jan 2020 19:07:44 +0000 (19:07 +0000)]
Grab a copy of the RSS feed whenever I download new episodes

This includes info not in the Overcast exports, e.g. RSS metadata and
show note information. Valuable stuff!

2 years agoLet's go Python 3 only, so I can get coloured logging
Alex Chan [Sat, 4 Jan 2020 18:52:40 +0000 (18:52 +0000)]
Let's go Python 3 only, so I can get coloured logging

2 years agoUse the human-readable episode title, not the filename
Alex Chan [Sat, 4 Jan 2020 18:46:41 +0000 (18:46 +0000)]
Use the human-readable episode title, not the filename

Often the filenames are some internal ID, not a numbered or understandable
filename.  This should make the archive a little easier to browse.

2 years agoAllow customising the User-Agent on downloads
Alex Chan [Sat, 23 Nov 2019 20:51:29 +0000 (20:51 +0000)]
Allow customising the User-Agent on downloads

2 years agoIf a filename is ambiguous, add the Overcast ID
Alex Chan [Sat, 23 Nov 2019 10:03:54 +0000 (10:03 +0000)]
If a filename is ambiguous, add the Overcast ID

Some podcasts use the same filename for every episode, so the script
will think it's already downloaded every episode (whereas it's actually
just downloaded one).

If we detect that multiple episodes have the same filename, include the
Overcast ID in the filename to disambiguate.

Closes #1.

2 years agomissing "the"
Alex Chan [Fri, 22 Nov 2019 21:51:20 +0000 (21:51 +0000)]
missing "the"

2 years agomissing space
Alex Chan [Fri, 22 Nov 2019 21:50:55 +0000 (21:50 +0000)]
missing space

2 years agoAdd numbered steps to the instructions
Alex Chan [Fri, 22 Nov 2019 21:50:22 +0000 (21:50 +0000)]
Add numbered steps to the instructions

2 years agoit's a richer sound
Alex Chan [Fri, 22 Nov 2019 21:46:58 +0000 (21:46 +0000)]
it's a richer sound

2 years agomention that this is an archive
Alex Chan [Fri, 22 Nov 2019 21:45:29 +0000 (21:45 +0000)]
mention that this is an archive

2 years agoFlesh out the README
Alex Chan [Fri, 22 Nov 2019 21:44:49 +0000 (21:44 +0000)]
Flesh out the README

2 years agoInitial commit
Alex Chan [Fri, 22 Nov 2019 21:07:10 +0000 (21:07 +0000)]
Initial commit