Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- import time
- url = 'https://2ch.hk/makaba/posting.fcgi'
- data = {
- 'task': 'post',
- 'board': 'asylum',
- 'thread': '480443',
- 'email': '',
- 'name': '',
- 'subject': '',
- 'comment': 'test pikchi',
- }
- imagedata = open('D:/1.jpg', 'rb').read()
- files = {'image1': imagedata}
- for i in range(3):
- requests.post(url, params=data, files=files)
- time.sleep(20)
- #requests.post(url, params=data, files=files)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement