OS: Ubuntu 22
Time to install: 5 mins
1. Install Xaccel Codec. Follow the instructions here exactly.
https://www.xaccel-codec.com/docs/installation.html
2. Login and activate your panel (insert your license key by editing the server).
3. Create a Stream Profile ---> Profile --> add profile
Assign it a name - select passthrough/copy restream from the drop down twice and click save.
4. Edit account -> edit the administrator user -> change your panel password to something strong.
Generate an API Key (click the generate button next to the API key field) and save it to a txt file and click save.
5. Use a SFTP program such as Filezilla and upload the script folder to /home/ (the folder should be the name of the script)
6. Install pip3 by typing pip3 and hitting enter (instructions to install it will be given based on your OS) eg: apt install pip-python3
7. Inside the /home/Scriptname/ folder type the following commands one after the other:
pip3 install -r requirements.txt
(hit enter to install the requirements)
8. Edit the config.json's at the following locations:
/home/Scriptname/config.json
This is your main config file. Add your server ip
http://yourserverip/
add your server API key and save the file (control +x)
Add a proxy if needed (most likely if your server is not located in the same country as the provider you are trying to dump)
10. Start the script by typing:
cd /home/scriptname/
python3 scriptname.py
11. Login to the provider or follow the instructions to place a cookie (if required), Choose the script you want to run (option 1). If you cannot login you most likely need to add a proxy. Also check your credentials with your browser and make sure they are valid.
12. Choose the channels you want to dump. You can choose a single channel number (1) or a channel range (1-100)
The script will begin dumping the selected channels and keys and auto update your panel once complete. Run the script again and choose option 2 to load the previously dumped keys to your panel.
Re-running the script and selecting option 2 at anytime will automatically scan for changes (updated keys) and update the panel automatically.