Skip to content

Instantly share code, notes, and snippets.

@AE5
Created October 22, 2015 10:47
Show Gist options
  • Save AE5/7a81c7e7588f1a4fb23f to your computer and use it in GitHub Desktop.
Save AE5/7a81c7e7588f1a4fb23f to your computer and use it in GitHub Desktop.
import requests
def posting(board, thread, comment):
values = 'json=1&task=post&board=%s&thread=%s&comment=%s' %(board, thread, comment)
response = requests.post(URL, data=values.encode('utf-8'))
return response.json()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment