Chris Mayo
52b9881820
Separate URL encoding and content encoding
...
Ensure users of url_data.encoding are using the URL encoding.
Combined since:
5fc01455 ("Decode content when retrieved, use bs4 to detect encoding if non-Unicode", 2019-09-30)
2022-09-29 19:21:11 +01:00
Chris Mayo
61071fc5dc
Merge pull request #668 from cjmayo/defaults
...
Clarify default values in initial linkcheckerrc and elsewhere
2022-09-28 19:36:44 +01:00
Lukas Pirl
8c959589c3
add option to ignore specific errors for specific URLs
2022-09-25 22:52:04 +02:00
Chris Mayo
e5168f44ea
Clarify defaults and examples in initial linkcheckerrc
2022-09-22 19:24:55 +01:00
Chris Mayo
b8d0928969
Document dialect option of csv logger
2022-09-22 19:24:55 +01:00
Chris Mayo
130347f223
Remove unused WARN_IGNORE_URL
...
URL ignored was changed to an info message in:
7b34be59 ("Introduce check plugins, use Python requests for http/s
connections, and some code cleanups and improvements.", 2014-03-01)
2022-09-22 19:24:55 +01:00
Chris Mayo
36a45b0f96
Merge pull request #666 from cjmayo/gemini
...
Add gemini scheme
2022-09-22 19:23:20 +01:00
Nathan Arthur
6dc5ade29d
Fixed a bug where the resultcachesize setting was ignored.
2022-09-20 19:36:23 +01:00
Chris Mayo
ed8e17137c
Add gemini scheme
2022-09-16 19:21:32 +01:00
Chris Mayo
25ce4b854c
Update IANA schemes
2022-09-16 19:21:32 +01:00
Chris Mayo
af265f3d52
Write all metadata used to _release.py
...
Enables running without installing.
Removes use of importlib.metadata.
2022-09-13 19:32:06 +01:00
Chris Mayo
30e8cfad77
Merge pull request #651 from cjmayo/rate
...
Rename url-rate-limited to http-rate-limited
2022-09-12 19:25:52 +01:00
Stefan Fisk
d2b9723612
Fix srcset parsing
...
Resolves #631
2022-09-07 21:24:23 +02:00
Chris Mayo
a0b28cc0ff
Rename url-rate-limited to http-rate-limited
...
Make consistent with the other warnings:
- The first part of the name represents the checker class in which the
warning is raised
- Update initial comment
2022-09-06 19:32:24 +01:00
Chris Mayo
3c7fb5b571
Fix checking directory containing Unicode filenames
...
Non-Unicode filenames are not supported.
sys.platform has not returned "linux2" since Python 3.3.
2022-09-05 19:28:40 +01:00
Chris Mayo
c627b00755
Merge pull request #639 from cjmayo/hatch
...
Replace setuptools and setup.py with hatch and pyproject.toml
2022-09-05 19:27:48 +01:00
Chris Mayo
d5058ecd7c
Merge pull request #643 from cjmayo/altname
...
Replace deprecated urllib3.contrib.pyopenssl.get_subj_alt_name()
2022-09-05 19:26:12 +01:00
Chris Mayo
47d1015e00
Replace setuptools and setup.py with hatch and pyproject.toml
2022-09-05 19:24:01 +01:00
Chris Mayo
f0cb2e9df9
Use cryptography.x509.not_valid_after
2022-09-05 19:20:19 +01:00
Chris Mayo
76e2712311
Replace deprecated urllib3.contrib.pyopenssl.get_subj_alt_name()
...
Strictly we should add a dependency on cryptography as we are now using
it directly - but for pyopenssl x509.to_cryptography() to work
cryptography would have to be already installed.
2022-09-05 19:20:19 +01:00
Chris Mayo
c79bc07cee
Add MIME type application/vnd.adobe.flash.movie
2022-09-02 19:29:11 +01:00
Chris Mayo
6d9061b00a
Ignore bs4 markup and XML parser warnings
...
XMLParsedAsHTMLWarning: It looks like you're parsing an XML document
using an HTML parser.
MarkupResemblesLocatorWarning: The input looks more like a filename than
markup.
MarkupResemblesLocatorWarning: The input looks more like a URL than
markup.
2022-09-02 19:29:11 +01:00
Chris Mayo
d6936ceb91
Add warning url-content-type-unparseable
2022-09-02 19:29:11 +01:00
Kian-Meng Ang
a70ea9ea14
Fix typos
...
Found via `codespell ./linkcheck/ ./tests ./doc/man/en -L bu,noone,fo,pres,shttp`
2022-09-02 17:20:02 +08:00
Chris Mayo
b35036af2b
Merge pull request #634 from cjmayo/pyxdg
...
Remove dependency on pyxdg
2022-08-30 19:28:03 +01:00
Chris Mayo
d72649453c
Merge pull request #632 from cjmayo/docs
...
Assorted documentation updates
2022-08-30 19:27:10 +01:00
Felix Yan
7db1a867ab
Correct a typo in i18n.py
2022-08-24 19:10:41 +03:00
Chris Mayo
fbceca5dc9
Remove dependency on pyxdg
...
Read the environment variables and implement the same fallbacks.
Saves a hardly used dependency and is more explicit.
2022-08-23 19:26:15 +01:00
Chris Mayo
10f3d33041
Finish documenting the use of XDG_CONFIG_HOME and XDG_DATA_HOME
...
Introduced by:
a03e2e4a ("use xdg dirs for config & data", 2017-10-17)
2022-08-23 19:21:53 +01:00
Chris Mayo
94781120ac
Correct mention of pdfminer in WordParser comment
2022-05-18 19:29:54 +01:00
Malte Gerth
cc48a09308
Add Telegram and WhatsApp link schemes
2022-02-06 23:41:33 +01:00
Malte Gerth
067dd8edbb
Update IANA schemes
2022-02-06 23:40:36 +01:00
Chris Mayo
141a811ba6
Enable creating a binary with PyOxidizer
...
With PyOxidizer 0.18.0 AppName in setup.py has to be changed to the
all lower case "linkchecker".
Application translations do not work.
better_exchook2.fallback_findfile() may still need converting, first
needs a test.
2021-12-30 19:27:04 +00:00
Chris Mayo
5768b76f6c
Use pkgutil to simplify loader.get_package_modules()
...
Replaces use of __file__.
2021-12-30 19:27:04 +00:00
Chris Mayo
a55bbc5237
Write RELEASE_DATE to egg-info
2021-12-30 19:27:04 +00:00
Chris Mayo
50b2063a4b
Install translation catalogs in the package data
...
Custom clean command no longer needed because share directory is not
created in build.
2021-12-30 19:27:04 +00:00
Chris Mayo
1d10fffde4
Use package metadata
2021-12-30 19:27:04 +00:00
Chris Mayo
819dacb9bb
Install linkcheckerrc in the package data
...
data/__init__.py needed for Python < 3.10
(namespace packages supported from importlib_resources v3.2)
2021-12-30 19:27:04 +00:00
Chris Mayo
5c0d66dd74
Raise minimum Python requirement to 3.7
2021-12-30 19:27:04 +00:00
Chris Mayo
a9ab4d847b
Remove get_share_file()
...
cacert.pem not used since:
e3ab9024 ("Remove platform-specific installer stuff and ensure a build .whl wheel file can be built.", 2016-01-17)
2021-12-30 19:27:04 +00:00
Chris Mayo
2fa0016ae9
Remove Portable
...
Building portable removed in:
e3ab9024 ("Remove platform-specific installer stuff and ensure a build .whl wheel file can be built.", 2016-01-17)
2021-12-30 19:27:04 +00:00
Chris Mayo
3359c7364f
Remove is_frozen()
...
Not used since:
e3ab9024 ("Remove platform-specific installer stuff and ensure a build .whl wheel file can be built.", 2016-01-17)
2021-12-30 19:27:04 +00:00
Chris Mayo
271cb59e62
Remove unused code from i18n
2021-12-30 19:27:04 +00:00
Chris Mayo
158c401dae
Update copyright to 2022
2021-12-30 19:27:04 +00:00
Chris Mayo
8bc3b39b41
One more proxy documentation update
...
a2e379a5 ("Remove built-in GNOME and KDE proxy support", 2021-12-13)
2021-12-21 19:23:00 +00:00
Chris Mayo
5fef9a3b60
Generate linkchecker command using an entry point
...
drop_privileges() is only used by the linkchecker command.
Move installing SIGUSR1 handler to the linkchecker command only - fixes
intermittent test failures.
2021-12-20 19:34:58 +00:00
Chris Mayo
efb92fbee8
Create setup_config from linkchecker
2021-12-20 19:34:58 +00:00
Chris Mayo
e501c4ffac
Create ArgParser from linkchecker
2021-12-20 19:34:58 +00:00
Chris Mayo
9bc1f4d04e
Use relative import for configuration in failures.py
2021-12-20 19:34:58 +00:00
Chris Mayo
4444a87eb9
Update Requests bug link
2021-12-15 19:34:24 +00:00