Commit graph

342 commits

Author SHA1 Message Date
Klaus-Uwe Mitterer
ab0e32bf27 Refactoring in Telegram bot, transbot fix 2017-03-18 19:23:38 +01:00
Klaus-Uwe Mitterer
fb5212bd2d Rename Telegram bot 2017-03-18 15:16:58 +01:00
Klaus-Uwe Mitterer
04da2892f4 Add variables for goo.gl and the Telegram bot 2017-03-18 15:16:37 +01:00
Klaus-Uwe Mitterer
87261d2ad8 Merge branch 'master' of git.klaus-uwe.me:kumitterer/twitools 2017-03-17 22:37:10 +01:00
Klaus-Uwe Mitterer
549419e831 Add missing import 2017-03-17 22:37:07 +01:00
Klaus-Uwe Mitterer
b057efd47d Merge remote-tracking branch 'bot/master' 2017-03-17 22:30:19 +01:00
Klaus-Uwe Mitterer
7cd51b3a4d Add missing import 2017-03-17 21:34:34 +01:00
Klaus-Uwe Mitterer
496b99c8fa Add tweets.csv to .gitignore 2017-03-15 20:46:26 +01:00
Klaus-Uwe Mitterer
2c26febb2a Handle videos properly, move downloading function to httptools 2017-03-15 20:43:36 +01:00
Klaus-Uwe Mitterer
3b8dc335a9 Handle URLs before translation 2017-03-13 23:36:04 +01:00
Klaus-Uwe Mitterer
94bedf0488 Use GET request for longURL() 2017-03-13 23:31:05 +01:00
Klaus-Uwe Mitterer
bd3e3d8d84 Fix URL shortener, in a way... 2017-03-13 22:55:49 +01:00
Klaus-Uwe Mitterer
93168b57a7 Forgot to actually return the value... 2017-03-13 22:45:10 +01:00
Klaus-Uwe Mitterer
023b6fda64 Add missing import 2017-03-13 20:13:58 +01:00
Klaus-Uwe Mitterer
294f9f08d1 Add URL shortening method in googletools 2017-03-13 19:59:25 +01:00
Klaus-Uwe Mitterer
ee9c3426ff Escape translated string before tweeting 2017-03-10 09:12:57 +01:00
Klaus-Uwe Mitterer
3e541c5224 Return Status object rather than ID in twitools.tweet() 2017-03-09 20:08:38 +01:00
Klaus-Uwe Mitterer
b6e6a3f803 Add post-handler for sent Markov tweets 2017-03-09 00:48:09 +01:00
Klaus-Uwe Mitterer
8dacc0a73e Handling time offset in filter as required 2017-03-08 21:06:38 +01:00
Klaus-Uwe Mitterer
ed4615c890 Create file for Markov bot filters# 2017-03-08 02:43:00 +01:00
Klaus-Uwe Mitterer
eccd79c373 Add oAuth headers to downloadMedia requests in order to download DM attachments 2017-03-07 23:19:11 +01:00
Klaus-Uwe Mitterer
fcbef05348 Remove dbtools.fillerfilter 2017-03-07 14:26:18 +01:00
Klaus-Uwe Mitterer
bb1716531a Move fillerfilter to filters.filler 2017-03-07 14:17:21 +01:00
Klaus-Uwe Mitterer
3d55c95bf5 No default output for filler 2017-03-07 13:49:19 +01:00
Klaus-Uwe Mitterer
708521d4b5 Add .config directory to .gitignore 2017-03-01 20:55:39 +01:00
Klaus-Uwe Mitterer
9d389494f9 Switch to Google Cloud Translate API, improve string handling, remove URLs 2017-02-28 13:53:06 +01:00
Klaus-Uwe Mitterer
9cea3612ea Remove original language field 2017-02-28 13:24:50 +01:00
Klaus-Uwe Mitterer
80e615b89a Pass original language to Translator, kill mentions 2017-02-28 12:42:11 +01:00
Klaus-Uwe Mitterer
87e1e466f0 Add field for original language 2017-02-28 12:36:13 +01:00
Klaus-Uwe Mitterer
bf6907058a Fix tstring assignment 2017-02-28 12:28:35 +01:00
Klaus-Uwe Mitterer
fbbf1f9747 Add import in the right place... 2017-02-28 12:04:18 +01:00
Klaus-Uwe Mitterer
a26238c396 Add missing import 2017-02-28 12:03:44 +01:00
Klaus-Uwe Mitterer
3da8a11181 Remove excess ) 2017-02-28 12:03:12 +01:00
Klaus-Uwe Mitterer
72392f1b72 Refactoring. 2017-02-28 12:01:35 +01:00
Klaus-Uwe Mitterer
429d3ffba2 Add list setting handler 2017-02-28 11:43:28 +01:00
Klaus-Uwe Mitterer
f2e219fca1 Add default config file 2017-02-28 11:33:27 +01:00
Klaus-Uwe Mitterer
71da0900ab Make transbot executable 2017-02-28 11:28:06 +01:00
Klaus-Uwe Mitterer
e1f4b48cac Merge branch 'master' of git.klaus-uwe.me:kumitterer/twitools 2017-02-28 11:16:16 +01:00
Klaus-Uwe Mitterer
b06fe841ae Merge 2017-02-28 11:14:45 +01:00
Klaus-Uwe Mitterer
9536259cc6 Fixed setup.py, can now add it again 2017-02-28 11:11:38 +01:00
Klaus-Uwe Mitterer
23f9e44dea Remove encoding line from transbot 2017-02-28 11:03:20 +01:00
Klaus-Uwe Mitterer
ffef5cc47d Run transbot through 2to3 2017-02-28 11:02:43 +01:00
Klaus-Uwe Mitterer
101b8071b9 Merge git.klaus-uwe.me:kumitterer/transbot 2017-02-28 10:59:18 +01:00
Klaus-Uwe Mitterer
8c00ece7bd Properly handle deleted account 2017-02-27 22:16:29 +01:00
Klaus-Uwe Mitterer
f71d072d18 Properly handle deleted account 2017-02-27 22:16:29 +01:00
Klaus-Uwe Mitterer
9c953a0118 Eest fix 2017-02-27 14:45:51 +01:00
Klaus-Uwe Mitterer
92046700ea Eest fix 2017-02-27 14:45:51 +01:00
Klaus-Uwe Mitterer
95cba7e3a6 Hannah fix 2017-02-27 14:08:39 +01:00
Klaus-Uwe Mitterer
647bb21610 Hannah fix 2017-02-27 14:08:39 +01:00
Klaus-Uwe Mitterer
f9bb832ceb Optimize sanitation 2017-02-27 12:03:58 +01:00