Skip to content

Instantly share code, notes, and snippets.

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()
if __name__ == '__main__':
import sys
import mp4
import argparse
def write_file(path, content):
with open(path, 'wb') as f:
f.write(content)
def addr(sval):