Commit Graph

9 Commits

Author SHA1 Message Date
586a109a16 drugs, urlinfo, youtube: fix 'invalid escape sequence' SyntaxWarnings 2024-06-02 15:30:20 +00:00
b1100db649 urlinfo: make .* in front of the URL non-greedy
This is done because URLs may contain one or more other URLs that match
the url pattern (e.g. https://web.archive.org links). Because .* is
greedy by default, this caused only the last matching URL to be
captured, instead of the full URL.
2023-08-05 13:42:46 +00:00
fa51899a24 urlinfo: catch superclass RequestException instead of each exception individually 2023-07-21 11:44:20 +00:00
dab86916ab urlinfo: catch TooManyRedirects exceptions 2021-08-13 17:26:52 +00:00
ceb3002281 urlinfo: fix some NoneType attribute errors 2021-07-20 21:40:38 +00:00
9c3cd2f816 urlinfo: check content-type before downloading + handle timeouts
improve codestyle and formatting
2021-05-20 00:27:03 +00:00
e7b89e7fdb urlinfo: update blacklist 2021-05-20 00:25:43 +00:00
c4f66e5346 urlinfo: limit download size + check content type 2021-05-14 22:13:30 +00:00
233cfc9089 add urlinfo plugin 2021-05-14 19:20:19 +00:00