Commit graph

199 commits

Author SHA1 Message Date
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
Klaus-Uwe Mitterer
ec4f06321a Fixed SQL query to properly handle changed handles 2017-02-06 14:49:41 +01:00
Klaus-Uwe Mitterer
67d0202b4d Fixed SQL query to properly handle changed handles 2017-02-06 14:49:41 +01:00
Klaus-Uwe Mitterer
be5f819f8d Add table for user name/user ID combinations 2017-01-30 03:06:24 +01:00
Klaus-Uwe Mitterer
701afaef45 Store followers/followings as user IDs rather than handles. Store handles in separate table. 2017-01-30 03:04:51 +01:00
Klaus-Uwe Mitterer
9c3fdb29db Store followers/followings as user IDs rather than handles. Store handles in separate table. 2017-01-30 03:04:51 +01:00
Klaus-Uwe Mitterer
c10f7d53f9 Reactivate lyrics when reaching dead end 2017-01-27 23:44:52 +01:00
Klaus-Uwe Mitterer
ed6f74281c Reactivate lyrics when reaching dead end 2017-01-27 23:44:52 +01:00