All Projects → QikaiXu → migu-sign

QikaiXu / migu-sign

Licence: other
咪咕爱看签到获流量话费,通过 github action 来实现自动签到。

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to migu-sign

github-run-tests-action
mabl Github Actions implementation
Stars: ✭ 39 (+95%)
Mutual labels:  github-action
action-devcard
GitHub Action to download the devcard from https://daily.dev
Stars: ✭ 59 (+195%)
Mutual labels:  github-action
clang-format-action
GitHub Action for clang-format checking
Stars: ✭ 48 (+140%)
Mutual labels:  github-action
Github Pages Deploy Action
Automatically deploy your project to GitHub Pages using GitHub Actions. This action can be configured to push your production-ready code into any branch you'd like.
Stars: ✭ 2,507 (+12435%)
Mutual labels:  github-action
mypy-check
github action for python's mypy type checker tool
Stars: ✭ 23 (+15%)
Mutual labels:  github-action
action-setup-kube-tools
Github Action that setup Kubernetes tools (kubectl, kustomize, helm, kubeconform, conftest, yq, rancher, tilt, skaffold) very fast and cache them on the runner. Please [✩Star] if you're using it!
Stars: ✭ 45 (+125%)
Mutual labels:  github-action
letterbot
Github Action 으로 만든 디스코드, 슬랙에 매일 아침 8시에 브리핑을 해주는 봇입니다
Stars: ✭ 37 (+85%)
Mutual labels:  github-action
recent-activity
Add your recent activity to your profile readme!
Stars: ✭ 87 (+335%)
Mutual labels:  github-action
npm-audit-action
GitHub Action to run `npm audit`
Stars: ✭ 30 (+50%)
Mutual labels:  github-action
tectonic-action
Compile Tex files easily
Stars: ✭ 77 (+285%)
Mutual labels:  github-action
Metrics
📊 An infographics generator with 30+ plugins and 200+ options to display stats about your GitHub account and render them as SVG, Markdown, PDF or JSON!
Stars: ✭ 4,621 (+23005%)
Mutual labels:  github-action
dnscontrol-action
Deploy your DNS configuration using GitHub Actions using DNSControl.
Stars: ✭ 64 (+220%)
Mutual labels:  github-action
sentry-releases-action
A GitHub action that creates releases for Sentry.io.
Stars: ✭ 38 (+90%)
Mutual labels:  github-action
memorable-milestones
A GitHub Action that puts your milestones on auto-pilot, using memorable emoji names 🤖
Stars: ✭ 18 (-10%)
Mutual labels:  github-action
restrict-cursing-action
Github Action to prevent cursing and bad language in issues and pull requests
Stars: ✭ 20 (+0%)
Mutual labels:  github-action
realworld-springboot-java
ReadWorld.io project using spring boot
Stars: ✭ 74 (+270%)
Mutual labels:  github-action
github-contribution-graph-action
🙈 This GitHub action will automatically push empty commits to one of your repositories.
Stars: ✭ 42 (+110%)
Mutual labels:  github-action
github-action-publish-binaries
Publish binaries when new releases are made.
Stars: ✭ 123 (+515%)
Mutual labels:  github-action
action-github-workflow-sync
Github Action To Sync Github Action's Workflow Files Across Repositories
Stars: ✭ 51 (+155%)
Mutual labels:  github-action
action-dynamic-readme
~ Dynamic ReadME Generator ~
Stars: ✭ 29 (+45%)
Mutual labels:  github-action

咪咕爱看签到

APP 接口改了。但原来的也还能用。不能用的时候就更新一下 COOKIE。

一点小羊毛。好哥哥们顺手点个 star 吧。

通过 github action 来实现自动签到(每天 50M 流量,每隔 5 天 0.38 元话费)

步骤

1 fork 这个仓库

点击右上角的 fork。

2 获取 cookie

通过抓包咪咕爱看签到的请求,获取 cookie,其实只需要 cookie 中的 mToken 这个值就好了。

如何抓包cookie(小白友好)

  • 首先,你要有一部手机和一台电脑
  • 请在电脑上下载并安装Fiddler(相当于一个代理软件)

  • 请将电脑和手机连上同一个无线网络

  • 打开fiddler 默认端口是8888(可以自己修改)

  • 在电脑的cmd中输入ipconfig命令获取电脑的ip地址

  • 在手机的wifi设置中将代理方式改为手动

地址栏内填入电脑端获取的ip 端口为8888(或为你手动更改过的)

  • 手机端打开咪咕爱看,进入签到页面

此时fiddler中会弹出访问记录,选中,在request_headers中查找mtoken的值

3 设置 cookie

在 fork 后自己的仓库中依次点击 Settings - Secrets - New repository secret,如下图所示:

image-20210111220035535

然后添加一个名为 COOKIE 的变量,内容为获取到的 cookie,类似于 mToken=...

COOKIE 示例:

mToken=eyJ0aW1lc3RhbXAiOjE2MTA3MTExMTM2MDQsInJvd1Rva2VuIjoiOWVkOGUwZTVlMjimOGRmZDE5N2Y4ZGJmOWYwMWQ1ODYiLCJ1aWQiOjMxoD1yOTUsInVzZXJOYW1lIjoiIiwibW9iaWxlIjoiMTUwNTg0ODU0ODgizCJ1c2VyUG9ydHJhaXQiOiIiLCJleHRlbmQiOiJ7XCJtb2JpbGVUeXBlXCI6XCIwXCJ1IiwiZGV2aWNlSWQiOiI3MzIxOTExmDY2MzQ2YzA5MWEzNjQwZjk0YTk3MzgxMSIsImNsaWVudFZlcnNpb24iOiI0LjquNCIsImRldmljZU1vZGVsIjaiaVBob25lIFgiLCJndWVzdCI6ZmFsc2UsInNpZ24iOiJjYjFlNzM0Y2NmYzExYTc2MWE4NGY1NDBhZmQ5YjE3MyJ9

4 运行

随便发起一个 push 请求,可以修改一下 README.md,或者自己给自己点个 star,就可以开始。之后就会每小时进行一次签到(因为有时候签到会失败,好像是服务器不太好,就设置一下每小时签到一次保证成功吧)。

注意,在官方文档中有这么一段:

To prevent unnecessary workflow runs, scheduled workflows may be disabled automatically. When a public repository is forked, scheduled workflows are disabled by default. In a public repository, scheduled workflows are automatically disabled when no repository activity has occurred in 60 days.

也就是说,定时执行的任务需要每隔 60 天激活一次

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].