Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- import time
- likePROFILE = 'https://vimetop.ru/ajax/player/likeProfile.php'
- urlSTATUS = 'https://vimetop.ru/ajax/player/statusChange.php'
- accounts = [
- {'nickname': 'VimeTopBot123', 'hash': '123'},
- ]
- with open('dist/NickiKakieLike.txt', 'r') as f:
- nums = f.read().splitlines()
- print(len(nums))
- for i in accounts:
- s = requests.Session()
- s.headers.update({"accept-language": "ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7","content-type": "application/x-www-form-urlencoded; charset=UTF-8","x-requested-with": "XMLHttpRequest","cookie": "nickname=" + i['nickname'] + "; auth_hash=" + i['hash']})
- for odinNick in nums:
- data = {
- 'page': odinNick,
- 'action': 'like',
- }
- r = s.post('https://vimetop.ru/ajax/player/likeProfile.php',data=data).json()
- print(r)
- exit()
Add Comment
Please, Sign In to add comment