Commit Graph

11 Commits (6eb6d6dff5add8b17babebb3a1a3da7948e5ee18)

Author SHA1 Message Date
dirkf 6eb6d6dff5 [InfoExtractor] Use local variants for remaining parent method calls
* ... where defined
1 month ago
dirkf 570b868078 [cache] Use `esc_rfc3986` to encode cache key 1 month ago
dirkf cedeeed56f [cache] Align further with yt-dlp
* use compat_os_makedirs
* support non-ASCII characters in cache key
* improve logging
1 month ago
dirkf a25e9f3c84 [compat] Use `compat_open()` 2 years ago
dirkf 218c423bc0 [cache] Add cache validation by program version, based on yt-dlp 3 years ago
Sergey M․ 590bc6f6a1
Use expand_path where appropriate (closes #12556) 8 years ago
Jaime Marquínez Ferrándiz 92120217eb [cache] Fix writing to paths with unicode characters
* Use "compat_getenv"
* "write_json_file" now expects the filename to be a string
11 years ago
Philipp Hagemeister 8c25f81bee [util] Move compatibility functions out of util
utils is large enough without these compatibility functions.

Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py .
Everything else (i.e. youtube-dl-specific helpers) goes into utils.py .
11 years ago
Sergey M․ 4644ac5527 [core] Decode environment variables with filesystem encoding (Fixes #3854, Fixes #3217, Fixes #2918)
Introduces compat versions of os.getenv and os.path.expanduser
11 years ago
Philipp Hagemeister 674c869af4 [cache] Allow dots in keys (Fixes #3674) 11 years ago
Philipp Hagemeister a0e07d3161 [youtube] Move cache into its own module 11 years ago