MIT License

项目介绍

D3vl0per/Twitch-watcher 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 MIT License 许可证,目前获得 222 个 Star、52 次 Fork。

仓库全名
D3vl0per/Twitch-watcher
开源许可证
MIT License
Star 数
222
Fork 数
52
未关闭 Issue
18

README 摘要

Twitch watcher I spent two days watching Valorant streams to get a drop. I got bored... Features 🎥 True HTTP Live Streaming support (Forget the #4000 error code) 🔐 Cookie-based login 📜 Auto accept cookie policy 👨‍💻 The choice of a random streamer with drop-enabled tag 🤐 Unmuted stream 🛠 Detect mature content-based stream and interact with it 🛡 Proxy option 📽 Automatic lowest possible resolution settings 🧰…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Twitch-watcher 用什么语言开发?

主要使用 JavaScript 编写,采用 MIT License 许可证,目前有 222 个 Star。

Twitch-watcher 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 Twitch-watcher 的源码?

可以直接克隆仓库:git clone https://github.com/D3vl0per/Twitch-watcher.git,默认分支为 master;安装与运行步骤见仓库 README。

Twitch-watcher 最近还在维护吗?

仓库最近一次更新为 2021年2月27日,当前有 18 个未关闭 Issue;Star 数为 222,可作为社区活跃度的参考。

关于

Automatic watching the twitch to get Valorant drop

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
329
价值分
148
活跃状态
归档

语言占比

Dockerfile
JavaScript

README

Twitch watcher

I spent two days watching Valorant streams to get a drop. I got bored...

GitHub package.json version GitHub GitHub repo size GitHub issues

Features

  • 🎥 True HTTP Live Streaming support (Forget the #4000 error code)
  • 🔐 Cookie-based login
  • 📜 Auto accept cookie policy
  • 👨‍💻 The choice of a random streamer with drop-enabled tag
  • 🤐 Unmuted stream
  • 🛠 Detect mature content-based stream and interact with it
  • 🛡 Proxy option
  • 📽 Automatic lowest possible resolution settings
  • 🧰 Highly customizable codebase
  • 📦 Deployable to VPS by docker
  • 🏳️ Helpful support community
  • 💬 Multi language readme: 🇫🇷 README 🇧🇷 README 🇷🇺 README 🇸🇰 README

Requirements

  • Windows or Linux OS
  • Network connection (Should be obvious…)
  • Nodejs and NPM

Installation

🎥 Tutorial video by Ziyad 🎥

Windows

  1. Login to your twitch account
  2. Open inspector(F12 or Ctrl+Shift+I) on main site
  3. Find the stored cookie section
  4. Copy auth-token
  5. Clone this repo
  6. Install Chromium
  7. Usually the path to the Chromium executable is: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
  8. Install the dependencies with npm install
  9. Start the program with npm start

Linux

  1. Login to your twitch account
  2. Open inspector(F12 or Ctrl+Shift+I) on main site
  3. Find the stored cookie section
  4. Copy auth-token
  5. Clone this repo
  6. Install Chromium: TUTORIAL 🤗
  7. Locate Chromium executable: whereis chromium or whereis chromium-browser
  8. Install the dependencies with npm install
  9. Start the program with npm start

Docker

Docker Image Version (latest by date) Docker Pulls Docker Image Size (latest by date)

Docker is a set of platform as a service (PaaS) products that uses OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files. All containers are run by a single operating system kernel and therefore use fewer resources than virtual machines.

Requirements

Usage

  1. Download docker-compose-example.yml
  2. Rename docker-compose.yml
  3. Open and replace the token environment record
  4. Run with docker-compose up -d command

Dependencies

GitHub package.json dependency version (subfolder of monorepo) GitHub package.json dependency version (subfolder of monorepo) GitHub package.json dependency version (subfolder of monorepo) GitHub package.json dependency version (subfolder of monorepo) GitHub package.json dependency version (subfolder of monorepo) GitHub package.json dependency version (prod)

Troubleshooting

How does the token look like?

auth-token: rxk38rh5qtyw95fkvm7kgfceh4mh6u


Streamers.json is empty?

Try again with higher delay. Default delay:

const scrollDelay = 2000;

Go to code


Something went wrong?

Try non-headless mode. Set headless value to true, like this:

const showBrowser = true;

Go to code


Proxy?

Yes, of course:

const proxy = ""; // "ip:port" By https://github.com/Jan710

Go to code

OR

With Docker env:

proxy=PROXY_IP_ADDRESS:PROXY_PORT

Screenshot without non-headless mode

const browserScreenshot = false;

Go to code

Donation

Please donate to keep alive this project!

Especially the drop farmers who gather tons of money with this software!🤓

Buy Me A Coffee

Support

Disclaimer

This code is for educational and research purposes only. Do not attempt to violate the law with anything contained here. I will not be responsible for any illegal actions. Reproduction and copy is authorised, provided the source is acknowledged.

评论

暂无评论