Commit graph

141 commits

Author SHA1 Message Date
Klaus-Uwe Mitterer
b3b9b26549 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
fd1d1d5bac Remove duplicated code in getMessages(), implement media download for messages 2017-02-27 00:56:37 +01:00
Klaus-Uwe Mitterer
c015769950 Implement media download in filler 2017-02-27 00:44:50 +01:00
Klaus-Uwe Mitterer
75c9304bac Include entities in search 2017-02-27 00:40:00 +01:00
Klaus-Uwe Mitterer
844f92b8c5 Add file downloader to filler 2017-02-27 00:39:34 +01:00
Klaus-Uwe Mitterer
297bf410ec Fix queryLyrics() call, return ID of added row 2017-02-26 20:54:40 +01:00
Klaus-Uwe Mitterer
cbe1c60774 Abort on empty text, replace recursion with while loop 2017-02-26 20:29:50 +01:00
Klaus-Uwe Mitterer
411520ec53 Add function to authenticate with known cke/cse pair 2017-02-26 20:12:21 +01:00
Klaus-Uwe Mitterer
85f74aea0f Add script to easily fetch new ato/ase pair 2017-02-26 20:11:51 +01:00
Klaus-Uwe Mitterer
5e18f49f85 Fix follow-up question 2017-02-26 19:52:55 +01:00
Klaus-Uwe Mitterer
c53c1f1c54 Properly escape single quotes, allow multi-line text 2017-02-26 19:12:37 +01:00
Klaus-Uwe Mitterer
fb46ff651e Properly handle midnight tweets 2017-02-24 00:14:23 +01:00
Klaus-Uwe Mitterer
2793a5cd9d Trying something... 2017-02-23 16:16:58 +01:00
Klaus-Uwe Mitterer
bf5561fbf6 Shorter, possibly more efficient but who cares anyway 2017-02-23 16:10:14 +01:00
Klaus-Uwe Mitterer
3bda230af2 Remove nice increment 2017-02-21 23:10:04 +01:00
Klaus-Uwe Mitterer
1addaec1bc Return delta to current time in getTime() 2017-02-21 23:06:36 +01:00
Klaus-Uwe Mitterer
d768d29117 Make getTime() take arbitrary datetime object for testing purposes 2017-02-21 22:32:27 +01:00
Klaus-Uwe Mitterer
069d0c7ed5 Fix that. 2017-02-21 22:26:09 +01:00
Klaus-Uwe Mitterer
a7be36e3cf Allow Markov bot to tweet exactly at 0/15/30/45 2017-02-21 22:22:44 +01:00
Klaus-Uwe Mitterer
1b77e73da4 Increase nice value of Markov bot 2017-02-21 16:38:33 +01:00
Klaus-Uwe Mitterer
2a56054f52 Merge branch 'master' of git.klaus-uwe.me:kumitterer/twitools 2017-02-21 16:11:16 +01:00
Klaus-Uwe Mitterer
46a42222c8 Optimize text sanitation 2017-02-21 16:10:39 +01:00
Klaus-Uwe Mitterer
4d76ee0116 Add lyrics ID to tweet 2017-02-21 16:10:14 +01:00
Klaus-Uwe Mitterer
d77b129351 Add missing import 2017-02-21 16:09:40 +01:00
Klaus-Uwe Mitterer
6ad9a8a8da Add matching ) 2017-02-21 16:08:09 +01:00
Klaus-Uwe Mitterer
9c59aceb78 Make lyrics manager executable... 2017-02-21 16:07:24 +01:00
Klaus-Uwe Mitterer
a129db3e83 Limit text length 2017-02-21 16:03:45 +01:00
Klaus-Uwe Mitterer
e3ae8f497a Quickly code a lyrics manager... Hopefully works... 2017-02-21 16:00:55 +01:00
Klaus-Uwe Mitterer
e74dc7fc83 That didn't do what it was supposed to. Found a better solution. 2017-02-21 02:43:45 +01:00
Klaus-Uwe Mitterer
1db9a42e9a Ignore future changes to fillerfilter.py 2017-02-21 02:30:11 +01:00
Klaus-Uwe Mitterer
b60125e414 Add fillerfilter file for hooks in filler 2017-02-21 02:27:14 +01:00
Klaus-Uwe Mitterer
cf935b2d9f Add .pyc to .gitignore 2017-02-21 02:26:37 +01:00
Klaus-Uwe Mitterer
04758ed796 Use replies in Markov bot, removing starting/ending handles 2017-02-18 22:14:35 +01:00
Klaus-Uwe Mitterer
8a2c09696a Integrate changes 2017-02-18 21:02:13 +01:00
Klaus-Uwe Mitterer
b6bbf1d500 Import setuptools to markov 2017-02-18 20:55:06 +01:00
Klaus-Uwe Mitterer
917ae98c8a Allow Markov and lyrics bots to use separate accounts for tweeting 2017-02-18 20:47:20 +01:00
Klaus-Uwe Mitterer
88f8792478 Preparation for using different accounts for different stuff 2017-02-18 20:44:30 +01:00
Klaus-Uwe Mitterer
f92405092d Fix query for name memory 2017-02-18 20:41:15 +01:00
Klaus-Uwe Mitterer
2408d2c7ae Make Markov bot unescape strings 2017-02-16 12:21:25 +01:00
Klaus-Uwe Mitterer
d8c07f33a5 Only use original tweets in Markov bot 2017-02-16 01:29:49 +01:00
Klaus-Uwe Mitterer
64aa08bcbc Move tweet() to twitools 2017-02-15 22:42:38 +01:00
Klaus-Uwe Mitterer
96269a71e2 Make Markov bot use NLTK. 2017-02-15 22:19:20 +01:00
Klaus-Uwe Mitterer
58ea79f7ba Make Markov bot use markovify.NewlineText() rather than markovify.Text() 2017-02-15 21:21:11 +01:00
Klaus-Uwe Mitterer
a94f8e3ee5 Fix markov bot 2017-02-15 19:16:19 +01:00
Klaus-Uwe Mitterer
bd3d7f4120 Merge branch 'master' of git.klaus-uwe.me:kumitterer/twitools 2017-02-15 19:10:21 +01:00
Klaus-Uwe Mitterer
c6eba11d71 Markov bot 2017-02-15 19:09:48 +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
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
c10f7d53f9 Reactivate lyrics when reaching dead end 2017-01-27 23:44:52 +01:00
Klaus-Uwe Mitterer
ff0dfb4dc4 Apparently actually got a working lyricsbot... 2017-01-27 23:25:00 +01:00