测试注视.py 1.1 KB

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. # File : 测试注释.py
  4. # Author: DaShenHan&道长-----先苦后甜,任凭晚风拂柳颜------
  5. # Date : 2022/10/20
  6. import requests
  7. import ujson
  8. data = {'album': 'all', 'mcountry': 'all', 'mform': 'all', 'page': '1', 'sort': 'all', 'tag_arr%5B%5D': 'all', 'title': ''}
  9. headers = {
  10. 'Referer': 'https://gaze.run',
  11. 'User-Agent': 'Mozilla/5.0 (Linux; Android 11; M2007J3SC Build/RKQ1.200826.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/77.0.3865.120 MQQBrowser/6.2 TBS/045714 Mobile Safari/537.36',
  12. # 'cookie': 'PHPSESSID=e7ht5hvema4sg0o8l1o5k0bqt1; Hm_lvt_eebb854b7348edadfb6b433786f5d059=1666239708; Hm_lpvt_eebb854b7348edadfb6b433786f5d059=1666244071',
  13. 'x-requested-with': 'XMLHttpRequest'
  14. }
  15. # form = ujson.dumps(data)
  16. # form = data
  17. # print(form)
  18. form = 'mform=1&mcountry=all&tag_arr%5B%5D=3&page=1&sort=updatetime&album=all&title='
  19. form = 'mform=1&mcountry=all&tag_arr%5B%5D=all&page=1&sort=default&album=all&title='
  20. print(form)
  21. r = requests.post('https://gaze.run/filter_movielist',data=form,headers=headers)
  22. print(r.text)