Giter Site home page Giter Site logo

hsf25737 / tx_video_sign Goto Github PK

View Code? Open in Web Editor NEW

This project forked from okayyang/tx_video_sign

0.0 0.0 0.0 213 KB

腾讯视频V力值每天定时自动签到,(赠片,弹幕,下载,60分钟观影,需要完成任务才能自动打卡)

Python 100.00%

tx_video_sign's Introduction

-1:需要借助腾讯云的云函数服务每日定点执行-

云函数创建

-2:触发时间自己设置(图中时间为每天23点,便于任务过完忘记签到)-

定时触发

-3:添加代码-

import requests
def request():
            Cookie= 'tvfe_boss_uuid=778853155beb80e0; '
            #cookie在https://film.qq.com/x/autovue/grade/登录账号获取
            Referer= 'https://film.qq.com/x/autovue/grade/'
            Agent= 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1'
            headers = {  'Referer': Referer,  'User-Agent': Agent, 'Cookie': Cookie }
            urls=[
                    'https://vip.video.qq.com/fcgi-bin/comm_cgi?name=spp_MissionFaHuo&cmd=4&task_id=7&_=1582364733058&callback=Zepto1582364712694',#下载签到请求
                    'https://vip.video.qq.com/fcgi-bin/comm_cgi?name=spp_MissionFaHuo&cmd=4&task_id=6&_=1582366326994&callback=Zepto1582366310545',#签到请求
                    'https://vip.video.qq.com/fcgi-bin/comm_cgi?name=hierarchical_task_system&cmd=2&_=1555060502385&callback=Zepto1555060502385',#赠送签到请求
                    'https://vip.video.qq.com/fcgi-bin/comm_cgi?name=spp_MissionFaHuo&cmd=4&task_id=3&_=1582368319252&callback=Zepto1582368297765',#弹幕签到请求
                    'https://vip.video.qq.com/fcgi-bin/comm_cgi?name=spp_MissionFaHuo&cmd=4&task_id=1&_=1582997048625&callback=Zepto1582997031843'#观看60分钟签到
            ]
            for url in urls:
                response = requests.get(url=url, headers=headers)
                print(response.content.decode("utf-8"))
            return 1
def main(event, context):
    request()

tx_video_sign's People

Contributors

okayyang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.