Commit Graph

26 Commits

Author SHA1 Message Date
tastytea 6fa611cf42
Detect file encoding of web page and convert to UTF-8.
continuous-integration/drone/push Build is failing Details
Fixes #6.
2019-12-11 13:01:44 +01:00
tastytea 7c7d28b7bc
Store document in class variable. 2019-12-11 13:00:43 +01:00
tastytea b6e7449a6a
Allow <title> to have arguments.
continuous-integration/drone/push Build is passing Details
Fixes title extraction on medium.com posts.
2019-12-02 15:57:56 +01:00
tastytea 37f6da6710
[[nodiscard]] all the functions.
continuous-integration/drone/push Build is passing Details
2019-10-30 08:51:07 +01:00
tastytea ea585751fc
Fix typo in NOLINT-comment. 2019-10-28 06:46:34 +01:00
tastytea 0a1396fc25
Mark `URI::archive()` const. 2019-10-27 20:38:58 +01:00
tastytea f8040f4803
Make type conversions explicit. 2019-10-25 06:00:36 +02:00
tastytea d8102b017e
Cut descriptions at 500 characters.
continuous-integration/drone/push Build is passing Details
2019-10-15 15:10:39 +02:00
tastytea 43d9e3947a
Disable clang-tidy warnings I can't do anything about.
continuous-integration/drone/push Build is passing Details
2019-10-08 18:03:27 +02:00
tastytea 2c4fb47f63
Changed namespace-indentation and header order. 2019-09-30 13:23:45 +02:00
tastytea f48b07f323
Refactored for better readability.
continuous-integration/drone/push Build is passing Details
Ran clang-tidy over the code, took most of the advice.
2019-09-25 03:58:29 +02:00
tastytea e374405863
Retain archive-flag on HTTP redirects.
continuous-integration/drone/push Build is passing Details
2019-09-22 23:43:46 +02:00
tastytea e377429dc1
Improved proxy detection.
continuous-integration/drone/push Build is passing Details
Username and password are now supported.
2019-09-20 23:13:55 +02:00
tastytea bb8be8e47e
Replaced std::regex with Poco::RegularExpression in URI. 2019-09-20 06:29:27 +02:00
tastytea 561995dadb
Include with <> instead of "". 2019-08-16 17:55:29 +02:00
tastytea e015ec3f3f
Don't crash if protocol is missing / not known.
continuous-integration/drone/push Build is passing Details
2019-08-08 21:25:28 +02:00
tastytea c218c23f97
Fix archiving by extracting the Content-Location header.
continuous-integration/drone/push Build is passing Details
2019-08-06 19:56:57 +02:00
tastytea e79f003a79
Prepend scheme://host to location if server returns only path. 2019-08-06 17:23:49 +02:00
tastytea 90fff35e0e
Added error handling to calls to archive service. 2019-08-06 12:40:52 +02:00
tastytea 862e90274e
Added error handling to http_extract. 2019-08-06 12:17:39 +02:00
tastytea 1d7153008a
Use numbers instead of constants for HTTP response code check.
continuous-integration/drone/push Build is failing Details
Poco 1.7 doesn't have HTTPResponse::HTTP_PERMANENT_REDIRECT.
2019-08-05 18:49:17 +02:00
tastytea 406c2486f7
Added HTTP proxy support.
continuous-integration/drone/push Build is failing Details
2019-08-05 18:23:34 +02:00
tastytea 1f446388e5
Support plain HTTP as well. 2019-08-05 17:00:34 +02:00
tastytea 9d0dd589a7
Replaced curlpp with POCO. Only HTTPS support fo far.
continuous-integration/drone/push Build is failing Details
curlpp seems dead. 🙁
2019-08-04 18:46:53 +02:00
tastytea b3bb1f05f2
namespaced library.
continuous-integration/drone/push Build is passing Details
2019-07-27 09:59:43 +02:00
tastytea 7fb23ee207
Split code into library and cli. 2019-07-26 20:58:24 +02:00