Skip to content
0
  • Categories
  • 讨论
  • Recent
  • Tags
  • Popular
  • Top
  • Users
  • Categories
  • 讨论
  • Recent
  • Tags
  • Popular
  • Top
  • Users
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
JIKE社区
  1. 首页
  2. 讨论区
  3. 技术专区
  4. 腾讯视频签到获取V力值脚本

腾讯视频签到获取V力值脚本

Scheduled Pinned Locked Moved 技术专区
4 Posts 2 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 黄大师鉴 Online
    黄大师鉴 Online
    黄大师
    wrote on last edited by malaohu
    #1

    回复: 京东&腾讯视频会员等级秒变

    转变前可以先刷腾讯视频的会员~ 有助于京享值的增加~~~

    # -*- coding: utf8 -*-
    
    import requests
    import re
    import time
    from urllib.parse import quote
    
    def start():
        try:
            s = requests.session()
    
            cookie1 = 'TXSP_COOKIE'
            
            this_time = int(round(time.time() * 1000))
    
            login_url = 'https://vip.video.qq.com/fcgi-bin/comm_cgi?name=hierarchical_task_system&cmd=2&_=' + str(this_time)
    
            headers={
                'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.204 Safari/537.36',
                'Cookie': cookie1
            }
    
            res =s.get(login_url,headers=headers).text
            
            print('访问结果:'+res)
    
            if 'Account Verify Error' in res:
                print('cookies失效,通知SERVER酱!')
                requests.get('https://sc.ftqq.com/SCKEY.send?text=' + quote('腾讯视频自动签到失败~'+time.strftime('%Y.%m.%d',time.localtime(time.time()))) +'&desp='+quote('cookies失效,请更新!\n'))
            else:
                print('签到完成')
    
        except Exception as e:
            print("地址访问失败,通知SERVER酱!")
            requests.get('https://sc.ftqq.com/SCKEY.send?text=' + quote('腾讯视频自动签到失败~'+time.strftime('%Y.%m.%d',time.localtime(time.time()))) +'&desp='+quote('异常代码:\n'+str(e)))
    
    
    def main_handler(event, context):
        return start()
    
    
    if __name__ == '__main__':
        start()
    

    以前论坛里有个老哥发了个TX视频自动签到的脚本
    TX这几天改了机制,写死的Cookie不能直接用了,通过多次抓包发现是多了一个刷新Cookie的接口,故搞之

    这是python2的脚本

    以下是步骤,凑合看,看不懂我不解释

    电脑访问 v.qq.com 开控制台 -> network 找到https://access.video.qq.com/user/auth_refresh 接口,把地址复制下来替换到脚本中
    点开https://access.video.qq.com/user/auth_refresh请求复制Request Header中的Cookie,粘贴到脚本中

    同上把Cookie同时复制到脚本第二处Cookie里面,注意有一个变量要保留不要替换

    最后的接口是通知的用的SERVER酱,你们自己去补习

    想办法每天定时执行这个脚本(我用的腾讯云函数)

    from : https://www.52pojie.cn/thread-1068467-1-1.html

    风来雨就来,屁来屎就来!💪

    1 Reply Last reply
    0
    • M Offline
      M Offline
      maoge
      🍌
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • M Offline
        M Offline
        maoge
        🍌
        wrote on last edited by
        #3

        改过得啊。回头我试试,不过没看到更新cookies的地方啊?看着是原始的脚本

        1 Reply Last reply
        0
        • M Offline
          M Offline
          maoge
          🍌
          wrote on last edited by maoge
          #4

          52破解那个代码和你贴的好像不一样。这次更新不知道能坚持多久。

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Popular Topics - 热门主题
          • 京东游跟进了0元体重秤
            我是小马甲~M
            我是小马甲~
            1
            3
            537

          • 中国广电免费领取30G通用数据流量
            A
            amly
            1
            2
            294

          • 阿里云Shell,可免费跑一些脚本
            孤
            孤傲的王
            0
            4
            210

          • 蚂蚁阿福App中10元可领体脂秤
            游魂Y
            游魂
            0
            4
            904

          • Win 10 RTM Professional Volume:MAK
            V
            vip0546
            0
            3
            35

          • 今日支付宝福利活动(限时领取)
            鹏鹏啊折
            鹏鹏啊
            0
            3
            275


          • Login

          • Don't have an account? Register

          • Login or register to search.
          夸克网盘
          4,387 topics
          百度网盘
          4,332 topics
          连续剧
          1,519 topics
          国产剧
          1,027 topics
          美剧
          707 topics
          动作片
          660 topics
          恐怖片
          526 topics
          动画片
          401 topics

          111

          Online

          44.0k

          Users

          50.1k

          Topics

          126.0k

          Posts
          • First post
            Last post