This website requires JavaScript.
eabf595ff5
systemd timer unit example has on 'OnCalendar' instruction
master
hygienic-books
2022-03-26 23:12:42 +01:00
ab0a82c626
Hide log timestamps, intended use case is inside a systemd service unit anyway where systemd provides timestamps
hygienic-books
2022-03-26 23:11:53 +01:00
03b449c768
systemd service unit will run on a timer, change unit type to oneshot and supply a timer unit file
hygienic-books
2022-03-23 23:40:41 +01:00
e269a110a6
When cleaning file name remove question marks instead of replacing them with dashes
hygienic-books
2022-03-23 23:39:32 +01:00
a3a375d142
Config and JSON files by default live in script's dir
hygienic-books
2022-03-23 23:39:04 +01:00
81ce5812a6
Account for situations where a state file does not (yet) exist
hygienic-books
2022-03-23 23:38:25 +01:00
83921912a4
Add to-dos
hygienic-books
2022-03-23 23:37:19 +01:00
65e3ec83b1
Add example systemd service unit file
hygienic-books
2022-03-23 15:53:31 +01:00
266d3189dc
Replace our maus-query.json file with an example with sane defaults
hygienic-books
2022-03-23 15:49:54 +01:00
563ff4d342
Replace our config.ini with a sane example
hygienic-books
2022-03-23 15:47:33 +01:00
287a755e65
Streamline download selection
hygienic-books
2022-03-20 02:35:10 +01:00
d70766bae0
If a partial download exists in temp dir we resume it
hygienic-books
2022-03-20 02:34:15 +01:00
380fb4bf2e
Calculate total downloadable content length after deciding which downloads we need
hygienic-books
2022-03-20 02:33:32 +01:00
e395309011
Cosmetics, remove unnecessary lines, rewrite help texts a bit
hygienic-books
2022-03-20 02:31:55 +01:00
029d9ffb7e
When replacing filename pattern strings only log the ones we're seeing in config file
hygienic-books
2022-03-20 02:30:23 +01:00
ec612de2dd
Remove event handler from downloads
hygienic-books
2022-03-20 02:29:22 +01:00
2905ff5c74
Fix encoding for JSON files
hygienic-books
2022-03-20 02:28:14 +01:00
0cfe47465d
Fix encoding for JSON files
hygienic-books
2022-03-20 02:27:55 +01:00
5eff7876bc
Cosmetics, lower urllib3.connectionpool log level back to WARNING
hygienic-books
2022-03-20 02:25:39 +01:00
4809846edf
Correctly calculate download speed if we're resuming
hygienic-books
2022-03-20 02:25:02 +01:00
b5dff485d9
Move downloaded file into target location even across file system boundaries
hygienic-books
2022-03-20 02:22:12 +01:00
e78659b2de
Example JSON query uses 100 results
hygienic-books
2022-03-20 02:17:36 +01:00
27004a5294
By default 'hörfassung' isn't needed for downloads
hygienic-books
2022-03-20 02:16:52 +01:00
d0552f9e67
Check if file was previously downloaded
hygienic-books
2022-03-19 16:58:27 +01:00
dd6464de5d
Start implementing range downloading
hygienic-books
2022-03-19 16:58:04 +01:00
facfe4e7d3
Check state file for previous downloads, improve logging per thread
hygienic-books
2022-03-19 16:08:12 +01:00
c0a271d0eb
Cosmetics, add trailing newline
hygienic-books
2022-03-19 14:13:45 +01:00
11b9daa729
Update urllib3 to 1.26.9
hygienic-books
2022-03-19 14:13:17 +01:00
9a5ce9469d
Use filelock to make sure we don't try to write state info from multiple download threads simultaneously
hygienic-books
2022-03-19 14:12:21 +01:00
3f6bc46d52
Cosmetics, remove unused variable
hygienic-books
2022-03-19 08:51:31 +01:00
601583afc3
Maintain a state file
hygienic-books
2022-03-19 08:50:51 +01:00
7081c6b50a
Generate safe filename
hygienic-books
2022-03-19 03:52:26 +01:00
7b391be89e
Cosmetics, replace safe filename regex with triple-quoted string so we don't have to bḁash-escape literal double quote
hygienic-books
2022-03-19 01:53:39 +01:00
c5f74ce479
Separate function to expand download directory
hygienic-books
2022-03-19 01:52:31 +01:00
4c327a35f5
Cosmetics, put imports at top of file
hygienic-books
2022-03-19 01:51:44 +01:00
5e321686d0
Cosmetics, put imports at top of file
hygienic-books
2022-03-19 01:51:11 +01:00
e02c0bf52e
Add options to customize output filename
hygienic-books
2022-03-19 01:50:05 +01:00
25d0059f14
Prep for logging and safe filenames
hygienic-books
2022-03-17 18:41:17 +01:00
296e2ca7e5
Use user's download location, resolve mentions of ~ (tilde) and environment vars
hygienic-books
2022-03-17 17:58:44 +01:00
34ef348929
Download episodes and provide regular updates
hygienic-books
2022-03-17 17:37:57 +01:00
47bb1f761a
Get total content_length and provide just one global stream of download progress updates
hygienic-books
2022-03-17 17:23:41 +01:00
d92236a2f2
Prior to submitting download job to thread pool determine URL for highest quality
hygienic-books
2022-03-17 16:13:13 +01:00
376932583e
Dabble in downloading with Will McGugan's downloader example at https://github.com/Textualize/rich/blob/master/examples/downloader.py
hygienic-books
2022-03-17 04:11:44 +01:00
6aeecabc9b
Add humanize for human-readable number representation
hygienic-books
2022-03-17 04:09:17 +01:00
bb4defdb82
In an MVW JSON response the 'size' attribute may be None e.g. when the result is an ORF .m3u8 instead of an .mp4 file
hygienic-books
2022-03-17 02:07:50 +01:00
0f68ef558e
exit if results list is empty (or is cleared during filtering)
hygienic-books
2022-03-17 01:50:19 +01:00
32932fe803
Get unique list of files we want to download
hygienic-books
2022-03-16 15:49:29 +01:00
c5830aeadc
Use project profile
hygienic-books
2022-03-15 04:31:30 +01:00
3b33fd65a7
Debugging
hygienic-books
2022-03-15 04:30:53 +01:00
ffb9e9d5f4
Reformat function definitions with same indentation level
hygienic-books
2022-03-15 04:30:26 +01:00
4ce2163e19
Require Pydantic
hygienic-books
2022-03-15 04:28:35 +01:00
65fe4b707c
Use Pydantic JSON model files
hygienic-books
2022-03-15 04:27:28 +01:00
1110f3b024
Add Pydantic JSON model files
hygienic-books
2022-03-15 04:25:03 +01:00
98d307db73
Get JSON response body from MediathekViewWeb
hygienic-books
2022-03-14 15:06:57 +01:00
affa15e191
Get JSON query string from config
hygienic-books
2022-03-14 06:58:45 +01:00
6686e91236
Add example json file for query string
hygienic-books
2022-03-14 00:59:40 +01:00
f0130ce2fb
Add default API endpoint for MediathekViewWeb instance
hygienic-books
2022-03-13 17:28:19 +01:00
576b3a56a9
Merge pull request 'feature/parse-config-file' (#1 ) from feature/parse-config-file into master
hygienic-books
2022-03-13 16:19:06 +00:00
720493d0de
Get config loading and parsing into usable state
hygienic-books
2022-03-13 17:17:44 +01:00
d1130baa10
Remove iml file
hygienic-books
2022-03-11 01:42:24 +01:00
8e06777e51
Add basics for parsing a config file
hygienic-books
2022-03-11 01:36:11 +01:00
c35ee252d9
Add example config file
hygienic-books
2022-03-10 07:31:14 +01:00
ae5fc42c4f
Initial commit
hygienic-books
2022-03-10 06:27:34 +01:00
e49250c96e
Initial commit
hygienic-books
2022-03-10 06:27:25 +01:00
3f19743a68
Initial commit
hygienic-books
2022-03-10 05:15:24 +00:00