Commit graph

62 commits

Author SHA1 Message Date
Nick Sweeting
c9c5b04df0 full type-hinting coverage 2019-03-26 23:25:07 -04:00
Nick Sweeting
25a107df43 switch to dataclasses, working Link type hints everywhere 2019-03-26 19:21:34 -04:00
Nick Sweeting
76abc58135 switch to strict type hints with NamedTuples instead of dicts 2019-03-26 05:33:34 -04:00
Nick Sweeting
0a44779b21 save command versions in archive results 2019-03-26 05:32:16 -04:00
Nick Sweeting
63abc8980c add mypy type hints 2019-03-26 03:20:41 -04:00
Nick Sweeting
c28c0d0e71 enable gzip auto decompression 2019-03-22 23:01:01 -04:00
Nick Sweeting
ef865dd76a better stats collection and printing 2019-03-22 23:00:43 -04:00
Nick Sweeting
4c499d77b6 move dependency checking into config file 2019-03-22 22:05:45 -04:00
Nick Sweeting
096832210c better logging totals counts 2019-03-22 21:38:24 -04:00
Nick Sweeting
d06775923b move latest to derived data using history 2019-03-22 21:38:08 -04:00
Nick Sweeting
bd9f3e313f better logging during long output 2019-03-22 15:09:39 -04:00
Nick Sweeting
1c5732d5c6 improve logging of skipped links 2019-03-22 14:01:29 -04:00
Nick Sweeting
d798117081 better separation of archive method checking and running logic 2019-03-21 05:35:41 -04:00
Nick Sweeting
e6bd1f8ca8 major codebase-wide code cleanups 2019-03-21 01:28:12 -04:00
Nick Sweeting
c806068683 fix missing import 2019-03-20 21:12:43 -04:00
Nick Sweeting
c79e1df8b2 use hints system to pass stdout and errors up to the traceback 2019-03-20 21:10:09 -04:00
Nick Sweeting
eb5cc8078a better UX before titles have been fetched during archiving progress 2019-03-19 18:10:11 -04:00
noncetonic
e230e27929
Changes HEADLESS_USER_AGENT to CHROME_USER_AGENT 2019-03-19 08:13:27 -07:00
noncetonic
a13f22d15a
Adds support for HEADLESS_USER_AGENT for Chrome 2019-03-19 05:32:48 -07:00
Nick Sweeting
1c1bc76ac1 add chrome headless option and improve default data dir finding 2019-03-12 17:50:10 -04:00
Nick Sweeting
10bb970d66
Update archive_methods.py 2019-03-12 12:45:33 -04:00
Nick Sweeting
c474bb7992
fix settings not being applied 2019-03-11 03:13:59 -04:00
Nick Sweeting
b2ccb7dbcb refactor error hint printing to be DRYer 2019-03-08 16:25:42 -05:00
Nick Sweeting
552734241b put git clones in a git folder to avoid retries 2019-02-27 15:55:39 -05:00
Nick Sweeting
3eaa76267e fix keyerror domain bug 2019-02-27 15:42:53 -05:00
Nick Sweeting
b03e9fade8 better link corruption guards, remove title prefetching, save index after run 2019-02-21 17:45:28 -05:00
Nick Sweeting
c95632883e fix without_hash to without_fragment 2019-02-21 16:03:19 -05:00
Nick Sweeting
d689264365 add new config and dependency options 2019-02-21 15:47:15 -05:00
Nick Sweeting
d52c9c5304 allow passing COOKIES_FILE to wget 2019-02-21 12:58:51 -05:00
Nick Sweeting
5a7d00a639 fetch page title during archiving process 2019-02-19 01:44:54 -05:00
Nick Sweeting
e6d5cd4432 ignore robots.txt when using wget 2019-02-06 22:06:36 -08:00
Nick Sweeting
56d382235f better progress output 2019-02-06 22:06:36 -08:00
Nick Sweeting
522b6288c1 hide frequent youtubedl incompatibility 2019-02-04 21:18:17 -08:00
Nick Sweeting
78ffa57c06 ignore hsts as well 2019-02-04 20:37:19 -08:00
Nick Sweeting
637f63dc80 chmod media after downloading 2019-02-04 20:15:34 -08:00
Nick Sweeting
756f31a50b hide common youtubedl failures 2019-02-04 20:08:54 -08:00
Nick Sweeting
794c043fa4 fix chrome data dir in wrong folder 2019-02-04 20:03:16 -08:00
Nick Sweeting
9f5441c4f3 quieter media downloads 2019-02-04 20:03:06 -08:00
Nick Sweeting
4e5b466bb2 fix broken wget user agents 2019-02-04 20:02:54 -08:00
Nick Sweeting
d8c7c98c01 fix exception format string 2019-02-04 20:02:40 -08:00
Nick Sweeting
705abda1a5 send ArchiveBox user agent to archive.org 2019-02-04 20:02:33 -08:00
Nick Sweeting
8a9b4d6975 dont git clone urls with hashes 2019-02-04 19:21:08 -08:00
Nick Sweeting
b8e5e1d5bd skip media when folder exists, even if empty 2019-02-04 19:21:00 -08:00
Nick Sweeting
901666bae6 dont show wget errors unless all files failed to download 2019-02-04 19:20:36 -08:00
Nick Sweeting
ad7038e031 catch json parse errors in link archiving 2019-02-04 08:00:08 -08:00
Nick Sweeting
071b39b944 nicer error formats 2019-01-20 14:08:33 -05:00
Nick Sweeting
de6eb649e0 disable wget timestamping if using warcs 2019-01-20 14:08:33 -05:00
Nick Sweeting
ce07a6c738 patch subprocess.run to have better timeout handling 2019-01-20 14:08:33 -05:00
Nick Sweeting
7ea36c4adb bump timeouts and improve curl archive method 2019-01-20 14:08:33 -05:00
Nick Sweeting
c42fcd42d7 fetch warc file inline with wget instead of as separate step 2019-01-14 22:43:14 -05:00