lolimoska

Untitled

Nov 6th, 2020
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. import requests
  2. import time
  3.  
  4. likePROFILE = 'https://vimetop.ru/ajax/player/likeProfile.php'
  5. urlSTATUS = 'https://vimetop.ru/ajax/player/statusChange.php'
  6.  
  7. accounts = [
  8. {'nickname': 'VimeTopBot123', 'hash': '123'},
  9. ]
  10.  
  11. with open('dist/NickiKakieLike.txt', 'r') as f:
  12. nums = f.read().splitlines()
  13. print(len(nums))
  14. for i in accounts:
  15. s = requests.Session()
  16. 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']})
  17.  
  18.  
  19.  
  20. for odinNick in nums:
  21.  
  22. data = {
  23. 'page': odinNick,
  24. 'action': 'like',
  25. }
  26. r = s.post('https://vimetop.ru/ajax/player/likeProfile.php',data=data).json()
  27. print(r)
  28.  
  29.  
  30. exit()
  31.  
Add Comment
Please, Sign In to add comment