Commit graph

206 commits

Author SHA1 Message Date
Klaus-Uwe Mitterer
7acf218c0c Fix stupid copy/paste error 2017-02-27 00:58:01 +01:00
Klaus-Uwe Mitterer
d05cb6f086 Add include_entities for direct messages. Should not do anything, but just to be sure... 2017-02-27 00:57:29 +01:00
Klaus-Uwe Mitterer
4755215271 Remove duplicated code in getMessages(), implement media download for messages 2017-02-27 00:56:37 +01:00
Klaus-Uwe Mitterer
92c898a20d Implement media download in filler 2017-02-27 00:44:50 +01:00
Klaus-Uwe Mitterer
597734b1d4 Include entities in search 2017-02-27 00:40:00 +01:00
Klaus-Uwe Mitterer
45890fd103 Add file downloader to filler 2017-02-27 00:39:34 +01:00
Klaus-Uwe Mitterer
0856063459 It's called makedirs, not mkdirs... 2017-02-27 00:39:07 +01:00
Klaus-Uwe Mitterer
de46993714 Create media directory when running setup.py 2017-02-27 00:38:37 +01:00
Klaus-Uwe Mitterer
1502bf94b6 Fix queryLyrics() call, return ID of added row 2017-02-26 20:54:40 +01:00
Klaus-Uwe Mitterer
7c7d612311 Abort on empty text, replace recursion with while loop 2017-02-26 20:29:50 +01:00
Klaus-Uwe Mitterer
dceaeb7452 Add function to authenticate with known cke/cse pair 2017-02-26 20:12:21 +01:00
Klaus-Uwe Mitterer
144b1e0804 Add script to easily fetch new ato/ase pair 2017-02-26 20:11:51 +01:00
Klaus-Uwe Mitterer
ece96ca690 Fix follow-up question 2017-02-26 19:52:55 +01:00
Klaus-Uwe Mitterer
fab23dea88 Properly escape single quotes, allow multi-line text 2017-02-26 19:12:37 +01:00
Klaus-Uwe Mitterer
010b1198da Properly handle midnight tweets 2017-02-24 00:14:23 +01:00
Klaus-Uwe Mitterer
2e4cd0207d Trying something... 2017-02-23 16:16:58 +01:00
Klaus-Uwe Mitterer
003c8b8567 Shorter, possibly more efficient but who cares anyway 2017-02-23 16:10:14 +01:00
Klaus-Uwe Mitterer
5d33a4392c Remove nice increment 2017-02-21 23:10:04 +01:00
Klaus-Uwe Mitterer
844a522c0a Return delta to current time in getTime() 2017-02-21 23:06:36 +01:00
Klaus-Uwe Mitterer
aea2cec4c7 Make getTime() take arbitrary datetime object for testing purposes 2017-02-21 22:32:27 +01:00
Klaus-Uwe Mitterer
4c98e587b1 Fix that. 2017-02-21 22:26:09 +01:00
Klaus-Uwe Mitterer
b0f6f1a14c Allow Markov bot to tweet exactly at 0/15/30/45 2017-02-21 22:22:44 +01:00
Klaus-Uwe Mitterer
1ce7470fac Increase nice value of Markov bot 2017-02-21 16:38:33 +01:00
Klaus-Uwe Mitterer
654954de92 Merge branch 'master' of git.klaus-uwe.me:kumitterer/twitools 2017-02-21 16:11:16 +01:00
Klaus-Uwe Mitterer
ec37a8a88c Optimize text sanitation 2017-02-21 16:10:39 +01:00
Klaus-Uwe Mitterer
a8494ebb42 Add lyrics ID to tweet 2017-02-21 16:10:14 +01:00
Klaus-Uwe Mitterer
fa95db9bf4 Add missing import 2017-02-21 16:09:40 +01:00
Klaus-Uwe Mitterer
374705d132 Add matching ) 2017-02-21 16:08:09 +01:00
Klaus-Uwe Mitterer
36351cadb1 Make lyrics manager executable... 2017-02-21 16:07:24 +01:00
Klaus-Uwe Mitterer
9b9dffe394 Limit text length 2017-02-21 16:03:45 +01:00
Klaus-Uwe Mitterer
6e2d244bc9 Quickly code a lyrics manager... Hopefully works... 2017-02-21 16:00:55 +01:00
Klaus-Uwe Mitterer
7c55e4ba5e That didn't do what it was supposed to. Found a better solution. 2017-02-21 02:43:45 +01:00
Klaus-Uwe Mitterer
9f08c8833f Ignore future changes to fillerfilter.py 2017-02-21 02:30:11 +01:00
Klaus-Uwe Mitterer
efcb31ad20 Add fillerfilter file for hooks in filler 2017-02-21 02:27:14 +01:00
Klaus-Uwe Mitterer
a364da22dc Add .pyc to .gitignore 2017-02-21 02:26:37 +01:00
Klaus-Uwe Mitterer
a4d47c09db Use replies in Markov bot, removing starting/ending handles 2017-02-18 22:14:35 +01:00
Klaus-Uwe Mitterer
a36a11886f Integrate changes 2017-02-18 21:02:13 +01:00
Klaus-Uwe Mitterer
0e008b56dc Import setuptools to markov 2017-02-18 20:55:06 +01:00
Klaus-Uwe Mitterer
76823f6939 Allow Markov and lyrics bots to use separate accounts for tweeting 2017-02-18 20:47:20 +01:00
Klaus-Uwe Mitterer
b15ae3fcc6 Preparation for using different accounts for different stuff 2017-02-18 20:44:30 +01:00
Klaus-Uwe Mitterer
afafe51188 Fix query for name memory 2017-02-18 20:41:15 +01:00
Klaus-Uwe Mitterer
aacd847cf9 Make Markov bot unescape strings 2017-02-16 12:21:25 +01:00
Klaus-Uwe Mitterer
3cafac4649 Only use original tweets in Markov bot 2017-02-16 01:29:49 +01:00
Klaus-Uwe Mitterer
720411508b Move tweet() to twitools 2017-02-15 22:42:38 +01:00
Klaus-Uwe Mitterer
6df747c303 Make Markov bot use NLTK. 2017-02-15 22:19:20 +01:00
Klaus-Uwe Mitterer
94cfb56611 Make Markov bot use markovify.NewlineText() rather than markovify.Text() 2017-02-15 21:21:11 +01:00
Klaus-Uwe Mitterer
33331181d2 Fix markov bot 2017-02-15 19:16:19 +01:00
Klaus-Uwe Mitterer
290c5dea2a Merge branch 'master' of git.klaus-uwe.me:kumitterer/twitools 2017-02-15 19:10:21 +01:00
Klaus-Uwe Mitterer
d6b95f504c Markov bot 2017-02-15 19:09:48 +01:00
Klaus-Uwe Mitterer
8d48ac6cdf Removed dangerous file... 2017-02-08 13:20:23 +01:00