Created
October 22, 2015 10:47
-
-
Save AE5/7a81c7e7588f1a4fb23f to your computer and use it in GitHub Desktop.
Revisions
-
AE5 created this gist
Oct 22, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ 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()