MastodoImageBot
makesuseofMastodo.py,tweepy,pixivpyadpybooru
$pythobot.py-husage:bot.py[-h][-cFILE][-a][-p][-v]simplescheduledimagebotforyourmastodoistaceoptioalargumets:-h,--helpshowthishelpmessageadexit-cFILE,--cofigFILEspecifycofigfile-a,--addaddimagestodatabase-p,--postposttoot-v,--verboseicreaseoutputverbositySetupistalltherequiremets.txtpipistall-rrequiremets.txtcopycofig.example.jsotocofig.jsoadeditittofityourcofiguratioaddimagestoyourdbwithpythobot.py--cofigcofig.jso--addadjustfollowtheistructiososcreeormauallyeditedthejsofileWheyourfiishedstartthebotwithpythobot.py-ccofig.jsoAcquirigtokesTogetcliet_secret,cliet_idadaccess_tokeyoueedtocreateaapplicatioatyourmastodoistace.Youcaeither:
startpythocreate_app.pyadfollowtheistructios
orfollowthisguide:https://gist.github.com/aparrish/661fca5ce7b4882a8c6823db12d42d26







评论