1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 12:42:29 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
Mike Fährmann
de224ef3e4
[cookies] include exception in fallback warning 2023-10-21 13:23:45 +02:00
Mike Fährmann
d194ea68a9
[cookies] open cookie databases in read-only mode
bypasses the need to copy the entire database file
might solve #4195
2023-10-12 21:16:42 +02:00
Mike Fährmann
2e6cea95db
[cookies] update logging behavior (#4050)
- only show the same warning/error once
- simplify and capitalize logging messages
2023-05-12 16:34:17 +02:00
Mike Fährmann
4c1f3b2160
[cookies] simplify '_mac_absolute_time_to_posix()'
hardcode UNIX timestamp of 2001-01-01
2023-05-06 15:10:13 +02:00
Mike Fährmann
a14b63d941
support selecting a domain for '--cookies-from-browser'
for example 'gallery-dl --cookies-from-browser firefox/twitter.com'
2023-05-06 15:09:49 +02:00
Mike Fährmann
076380e079
remove '*' indicating keyword-only arguments
they are kind of unnecessary and
cause a non-insignificant function call overhead (~10%)
2023-05-02 22:23:33 +02:00
Mike Fährmann
1aae72773f
put argument init on separate lines 2023-02-10 17:05:20 +01:00
Mike Fährmann
dd884b02ee
replace json.loads with direct calls to JSONDecoder.decode 2023-02-09 15:22:00 +01:00
Mike Fährmann
3f29b8fe91
[cookies] convert browser names to lowercase 2023-01-03 14:58:48 +01:00
Mike Fährmann
dfe7b23579
support Firefox containers for --cookies-from-browser (#3346) 2022-12-09 19:43:55 +01:00
Mike Fährmann
4c6379e9d5
fix typo 2022-11-18 13:14:11 +01:00
Mike Fährmann
34c428abf1
support cygwin/BSD/etc for --cookies-from-browser
https://github.com/yt-dlp/yt-dlp/pull/3975
2022-06-11 15:30:11 +02:00
Mike Fährmann
aa2db7abeb
[cookies] cleanup (#1606)
- fix Popen.communicate() calls
- move and simplify _process_chrome_cookie() code
- remove random print() statement and config dict
2022-05-08 13:28:53 +02:00
Mike Fährmann
6742f3bc1e
implement --cookies-from-browser (#1606)
most of the code is adapted from yt-dlp's implementation
and *should* work the same.
2022-05-07 23:06:37 +02:00