I spent two days watching Valorant streams to get a drop. I got bored...
- π₯ 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
π₯ Tutorial video by Ziyad π₯ [currently unavailable]
- Login to your twitch account (www.twitch.tv)
- Open inspector(F12 or Ctrl+Shift+I or right click and select 'inspect') on main site
- Find the stored cookie section (in the inspect window go to Application > Storage > Cookies > https://www.twitch.tv)
- Copy auth-token from the location in step 4 (and temporarily paste it in a notepad)
- Clone this repo (using git, or download the ZIP using https://github.com/D3vl0per/Twitch-watcher/archive/master.zip)
- extract the content and copy the folder to where you would like to keep it
- install Chromium
7.1. Download and install Chromium (latest version) (from https://download-chromium.appspot.com/)
7.1.1. Extract the content of the chromium ZIP and copy the folder to where you would like to keep it
7.1.2. open the chromium folder and press Alt + d , then press ctrl + c, then open a notepad and press ctrl + v
7.2. Or download chrome canary (stable version) (from https://www.google.com/intl/en/chrome/canary/)
7.2.1. Usually the path to the Chromium executable is: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
- Install NODE.js (from https://nodejs.org/en/download/)
- go to the location where Valorant-watcher is located (step 6)
- on the keyboard, press Alt + D
- type "cmd"
- press Enter on the keyboard (command prompt should now open)
- Install the dependencies with
npm install
in the command prompt window - Start the program with
npm start
in the command prompt window - you will be prompted to enter your twitch token and chromium path. (from step 4. and (step 7.1.2. or step 7.2.1))
- Login to your twitch account
- Open inspector(F12 or Ctrl+Shift+I) on main site
- Find the stored cookie section
- Copy auth-token
- Clone this repo
- Install Chromium: TUTORIAL π€
- Locate Chromium executable:
whereis chromium
orwhereis chromium-browser
- Install the dependencies with
npm install
- Start the program with
npm start
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.
- Download docker-compose-example.yml
- Rename docker-compose.yml
- Open and replace the token environment record
- Run with
docker-compose up -d
command
auth-token: rxk38rh5qtyw95fkvm7kgfceh4mh6u
Try again with higher delay. Default delay:
const scrollDelay = 2000;
Try non-headless mode. Set headless value to true
, like this:
const showBrowser = true;
Yes, of course:
const proxy = ""; // "ip:port" By https://github.com/Jan710
OR
With Docker env:
proxy=PROXY_IP_ADDRESS:PROXY_PORT
const browserScreenshot = false;
Please donate to keep alive this project!
Especially the drop farmers who gather tons of money with this software!π€
- Keybase at https://keybase.io/d3v_
- Discord at https://discord.gg/s8AH4aZ
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.