home · contact · privacy
plomlombot-irc.git
5 years agoAdd basic quotes feature.
Christian Heller [Wed, 20 Jan 2016 02:13:39 +0000 (03:13 +0100)]
Add basic quotes feature.

5 years agoStrip whitespace start/end from page title.
Christian Heller [Tue, 19 Jan 2016 23:32:14 +0000 (00:32 +0100)]
Strip whitespace start/end from page title.

5 years agoMinor run.sh error handling improvement.
Christian Heller [Tue, 19 Jan 2016 22:51:26 +0000 (23:51 +0100)]
Minor run.sh error handling improvement.

5 years agoImprove setup script error handling.
Christian Heller [Tue, 19 Jan 2016 22:45:32 +0000 (23:45 +0100)]
Improve setup script error handling.

5 years agoImprove README.
Christian Heller [Tue, 19 Jan 2016 22:44:52 +0000 (23:44 +0100)]
Improve README.

5 years agoFix default nickname in setup script.
Christian Heller [Tue, 19 Jan 2016 22:41:38 +0000 (23:41 +0100)]
Fix default nickname in setup script.

5 years agoAdd setup script.
Christian Heller [Tue, 19 Jan 2016 22:36:58 +0000 (23:36 +0100)]
Add setup script.

5 years agoCatch InvalidURL requests exception.
Christian Heller [Tue, 19 Jan 2016 21:46:52 +0000 (22:46 +0100)]
Catch InvalidURL requests exception.

5 years agoUse BeautifulSoup for HTML parsing.
Christian Heller [Tue, 19 Jan 2016 21:46:30 +0000 (22:46 +0100)]
Use BeautifulSoup for HTML parsing.

5 years agoUse request library to simplify page retrieval code.
Christian Heller [Tue, 19 Jan 2016 21:05:49 +0000 (22:05 +0100)]
Use request library to simplify page retrieval code.

5 years agoFix buggy HTMLParser.
Christian Heller [Tue, 19 Jan 2016 00:36:15 +0000 (01:36 +0100)]
Fix buggy HTMLParser.

5 years agoUse proper HTML parsing for page title retrieval.
Christian Heller [Tue, 19 Jan 2016 00:01:38 +0000 (01:01 +0100)]
Use proper HTML parsing for page title retrieval.

5 years agoCancel page title reading on bad charset.
Christian Heller [Mon, 18 Jan 2016 22:05:12 +0000 (23:05 +0100)]
Cancel page title reading on bad charset.

5 years agoIn recv_line(), handle UnicodeDecodeErrors by assuming latin1.
Christian Heller [Mon, 18 Jan 2016 21:40:36 +0000 (22:40 +0100)]
In recv_line(), handle UnicodeDecodeErrors by assuming latin1.

5 years agoBe verbose on page title retrieval failure.
Christian Heller [Mon, 18 Jan 2016 21:25:14 +0000 (22:25 +0100)]
Be verbose on page title retrieval failure.

5 years agoHandle UnicodeDecodeError.
Christian Heller [Mon, 18 Jan 2016 01:43:46 +0000 (02:43 +0100)]
Handle UnicodeDecodeError.

5 years agoUse NOTICE instead of PRIVMSG for bot output.
Christian Heller [Mon, 18 Jan 2016 01:33:29 +0000 (02:33 +0100)]
Use NOTICE instead of PRIVMSG for bot output.

5 years agoSend user agent in URL parser requests.
Christian Heller [Mon, 18 Jan 2016 01:29:13 +0000 (02:29 +0100)]
Send user agent in URL parser requests.

5 years agoImprove URL parser regex.
Christian Heller [Mon, 18 Jan 2016 01:13:54 +0000 (02:13 +0100)]
Improve URL parser regex.

5 years agoIn URL parser, add http.client.BadStatusLine handler.
Christian Heller [Sun, 17 Jan 2016 23:00:34 +0000 (00:00 +0100)]
In URL parser, add http.client.BadStatusLine handler.

5 years ago"while 1" -> "while True"
Christian Heller [Sun, 17 Jan 2016 22:50:31 +0000 (23:50 +0100)]
"while 1" -> "while True"

5 years agoApply PEP8.
Christian Heller [Sun, 17 Jan 2016 22:49:23 +0000 (23:49 +0100)]
Apply PEP8.

5 years agoHandle UnicodeError in URL parsing.
Christian Heller [Sun, 17 Jan 2016 22:33:59 +0000 (23:33 +0100)]
Handle UnicodeError in URL parsing.

5 years agoHandle URLError.
Christian Heller [Sun, 17 Jan 2016 22:29:11 +0000 (23:29 +0100)]
Handle URLError.

5 years agoMake python file executable.
Christian Heller [Sun, 17 Jan 2016 22:16:06 +0000 (23:16 +0100)]
Make python file executable.

5 years agoAdd command line options.
Christian Heller [Sun, 17 Jan 2016 22:15:12 +0000 (23:15 +0100)]
Add command line options.

5 years agoSome more refactoring / de-globalizing.
Christian Heller [Sun, 17 Jan 2016 21:43:35 +0000 (22:43 +0100)]
Some more refactoring / de-globalizing.

5 years agoSome refactoring and variable renaming.
Christian Heller [Sun, 17 Jan 2016 21:33:31 +0000 (22:33 +0100)]
Some refactoring and variable renaming.

5 years agoDeglobalize servername variable.
Christian Heller [Sun, 17 Jan 2016 21:24:16 +0000 (22:24 +0100)]
Deglobalize servername variable.

5 years agoReconnect after ping timeout or broken socket.
Christian Heller [Sun, 17 Jan 2016 21:06:13 +0000 (22:06 +0100)]
Reconnect after ping timeout or broken socket.

5 years agoSome refactoring.
Christian Heller [Sun, 17 Jan 2016 20:45:26 +0000 (21:45 +0100)]
Some refactoring.

5 years agoURL interpreter: Handle HTTPErrors.
Christian Heller [Sun, 17 Jan 2016 20:34:25 +0000 (21:34 +0100)]
URL interpreter: Handle HTTPErrors.

5 years agoAssume default charset utf-8 when no charset found in URL interpreter.
Christian Heller [Sun, 17 Jan 2016 20:21:17 +0000 (21:21 +0100)]
Assume default charset utf-8 when no charset found in URL interpreter.

5 years agoAdd timeout to urlopen().
Christian Heller [Sun, 17 Jan 2016 20:02:37 +0000 (21:02 +0100)]
Add timeout to urlopen().

5 years agoSome refactoring.
Christian Heller [Sun, 17 Jan 2016 19:57:56 +0000 (20:57 +0100)]
Some refactoring.

5 years agoAdd some more checks against evil URLs.
Christian Heller [Sun, 17 Jan 2016 19:54:52 +0000 (20:54 +0100)]
Add some more checks against evil URLs.

5 years agoShorten default timeout.
Christian Heller [Sun, 17 Jan 2016 19:43:27 +0000 (20:43 +0100)]
Shorten default timeout.

5 years agoAdd content-type check to URL interpreter.
Christian Heller [Sun, 17 Jan 2016 19:38:57 +0000 (20:38 +0100)]
Add content-type check to URL interpreter.

5 years agoMinor variable refactoring.
Christian Heller [Sun, 17 Jan 2016 19:31:16 +0000 (20:31 +0100)]
Minor variable refactoring.

5 years agoAdd some whitespace to code for better readability.
Christian Heller [Sun, 17 Jan 2016 19:25:52 +0000 (20:25 +0100)]
Add some whitespace to code for better readability.

5 years agoInitial commit.
Christian Heller [Sun, 17 Jan 2016 18:07:17 +0000 (19:07 +0100)]
Initial commit.

5 years agoInitial commit
Christian Heller [Sun, 17 Jan 2016 18:06:25 +0000 (19:06 +0100)]
Initial commit