This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Original script (kept up to date): https://github.com/robincamille/bot-tutorial/blob/master/respondingbot.py | |
# Twitter Bot Starter Kit: Responding Bot | |
# This bot listens to the account @ocertat, and when that account | |
# tweets, it responds with a line of Twain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Original script (kept up to date): https://github.com/robincamille/bot-tutorial/blob/master/mashup_madlib.py | |
# Mad Lib Maker! | |
# This script will generate mad-libs based off of a William Carlos | |
# Williams poem, 'The Red Wheelbarrow.' Each poem will then be | |
# tweeted by your bot account. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Original script (kept up to date): https://github.com/robincamille/bot-tutorial/blob/master/mybot2.py | |
# Twitter Bot Starter Kit: Bot 2 | |
# This bot tweets a text file line by line, waiting a | |
# given period of time between tweets. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Original script (kept up to date): https://github.com/robincamille/bot-tutorial/blob/master/mybot.py | |
# Twitter Bot Starter Kit: Bot 1 | |
# This bot tweets three times, waiting 15 seconds between tweets. | |
# If you haven't changed credentials.py yet with your own Twitter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Original script (kept up to date): https://github.com/robincamille/bot-tutorial/blob/master/mashup_markov/markovmaker.py | |
# Markov-chain text maker | |
# This script takes a .txt file and makes a mashup of it | |
# using a Markov chain: linking word phrases together | |
# from different spots in the text. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): usagereports.galegroup.com:80 | |
DEBUG:urllib3.connectionpool:http://usagereports.galegroup.com:80 "POST /sushi/ws HTTP/1.1" 200 1702 | |
DEBUG:pycounter.sushi:SUSHI DUMP: request: b'<?xml version=\'1.0\' encoding=\'utf-8\'?> | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:counter="http://www.niso.org/schemas/counter" xmlns:sushi="http://www.niso.org/schemas/sushi" xmlns:sushicounter="http://www.niso.org/schemas/sushi/counter"> | |
<SOAP-ENV:Body> | |
<sushicounter:ReportRequest Created="2018-08-15T15:38:46.213576+00:00" ID="redacted"> | |
<sushi:Requestor> | |
<sushi:ID>redacted</sushi:ID> | |
<sushi:Name/> | |
<sushi:Email/> |