Commit graph

40 commits

Author SHA1 Message Date
Klaus-Uwe Mitterer 6ecb783e3e Remove painful recursion, turn driver into global variable 2017-09-14 16:23:15 +02:00
Klaus-Uwe Mitterer fc14091296 Fix glob 2017-09-14 16:10:08 +02:00
Klaus-Uwe Mitterer 037d18c52e Improve exception handling 2017-09-13 18:15:53 +02:00
Klaus-Uwe Mitterer 00283dc55d Add missing asterisk 2017-09-12 21:02:38 +02:00
Klaus-Uwe Mitterer b280f6b469 Improve requests session creation and connection error handling 2017-09-12 20:47:02 +02:00
Klaus-Uwe Mitterer 3ed2669c9d Fix handling of Content-Disposition headers 2017-09-10 21:59:43 +02:00
Klaus-Uwe Mitterer a8f3d43c82 Fix variable name... 2017-09-10 20:27:03 +02:00
Klaus-Uwe Mitterer 7bede9a27e Use uniform user agent string for all requests (i.e. both Requests and PhantomJS) 2017-09-10 20:26:36 +02:00
Klaus-Uwe Mitterer 5bbf938fb6 Remove database getters from setuptools 2017-09-10 13:38:18 +02:00
Klaus-Uwe Mitterer a1886e2dde Remove dbtools dependency in setup.py 2017-09-10 13:37:31 +02:00
Klaus-Uwe Mitterer ef3347a764 Fix it... 2017-09-10 10:57:57 +02:00
Klaus-Uwe Mitterer ecd7f7fc8e Remove unused files 2017-09-10 10:33:56 +02:00
Klaus-Uwe Mitterer 211073fc53 Remove unused file 2017-09-10 10:32:47 +02:00
Klaus-Uwe Mitterer e0da060cbd Finalize the downloader 2017-09-10 10:32:25 +02:00
Klaus-Uwe Mitterer 3ba433a82e Fix variable name 2017-09-10 09:48:49 +02:00
Klaus-Uwe Mitterer aa2795f46d Forked romeotools for ScriptzBaseTools 2017-09-09 14:40:28 +02:00
Klaus-Uwe Mitterer ff759fbf7b Update .gitignore 2017-07-20 14:53:49 +02:00
Klaus-Uwe Mitterer 5e59a800b2 Use PhantomJS instead of Firefox, update URLs, login immediately upon launch 2017-07-19 16:11:13 +02:00
Klaus-Uwe Mitterer 90e997a500 Use xvfbwrapper for Firefox 2017-05-01 23:50:13 +02:00
Klaus-Uwe Mitterer 5a6a05cab9 Removed message counter as it doesn't appear to work anyway... 2017-01-31 12:34:19 +01:00
Klaus-Uwe Mitterer 242db43905 Make sure to close browser 2017-01-31 00:54:52 +01:00
Klaus-Uwe Mitterer ce1fec74ab Handle photos, correct counter 2017-01-31 00:52:56 +01:00
Klaus-Uwe Mitterer c53ffa66dc Correctly handle text. .string does weird things. 2017-01-29 23:09:16 +01:00
Klaus-Uwe Mitterer 89472538eb Add global variables for received and sent messages, print them before exiting 2016-08-07 23:14:58 +02:00
Klaus-Uwe Mitterer b037748b5e Make handler stop automatically after 25 minutes in case it stalls 2016-08-07 21:59:23 +02:00
Klaus-Uwe Mitterer 2cb50488f4 Removed pointless 'KTHXBAI' message. 2016-08-07 18:15:05 +02:00
Klaus-Uwe Mitterer ba4d0a6a25 Renamed messages.py to handler.py because I can. 2016-08-07 18:13:25 +02:00
Klaus-Uwe Mitterer d7376256f5 Improve photo handling. Should now handle URLs a lot better. Also added a way to add a parent directory for all photos. 2016-08-07 18:12:13 +02:00
Klaus-Uwe Mitterer 258a192b6a Fix image handler 2016-08-07 17:39:42 +02:00
Klaus-Uwe Mitterer be09282609 Loads of changes. Filling the database seems to work now. 2016-08-07 01:46:20 +02:00
Klaus-Uwe Mitterer 59fe1a23f4 Forgot changing vid to mid in messageHandler() 2016-08-06 20:09:11 +02:00
Klaus-Uwe Mitterer e0cd78ade3 Will have to split the string at the '=', not at the '?'. And let's just hope that that'll always be the only place... 2016-08-06 20:07:03 +02:00
Klaus-Uwe Mitterer 99333ec4e7 Add *.pyc files to .gitignore 2016-08-06 15:04:27 +02:00
Klaus-Uwe Mitterer e21fcc1a8c Check in stuff primarily copied over from twitools 2016-08-06 15:03:39 +02:00
Klaus-Uwe Mitterer a2869d70c9 Add .gitignore 2016-08-06 15:00:23 +02:00
Klaus-Uwe Mitterer 0037541289 Put downloader logic into phototools 2016-08-06 15:00:05 +02:00
Klaus-Uwe Mitterer 8517d62b45 Prettier exception handling 2016-03-27 19:14:01 +02:00
Klaus-Uwe Mitterer f26e995f58 Added --verbose and --shut-up switches 2016-03-27 19:06:25 +02:00
Klaus-Uwe Mitterer 806aa452c3 Made the downloader aware of size issues when copying the wrong URL 2016-03-27 15:58:39 +02:00
Klaus-Uwe Mitterer faf874f519 Check in initial version of the downloader 2016-03-27 15:35:08 +02:00