From e9d3c77f567915649ccac99d89975f15da87bd4f Mon Sep 17 00:00:00 2001 From: Klaro Date: Thu, 6 Feb 2025 18:58:48 +0100 Subject: [PATCH] Update repository URLs and improve import handling --- README.md | 38 ++++++++++----------------- TwitchChannelPointsMiner/constants.py | 2 +- assets/charts.html | 14 +++++----- main.py | 11 +++++--- setup.py | 2 +- 5 files changed, 31 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index d09b24e..48b220a 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ ![Twitch Channel Points Miner - v2](https://raw.githubusercontent.com/rdavydov/Twitch-Channel-Points-Miner-v2/master/assets/banner.png)

-Latest Version -GitHub Repo stars +Latest Version +GitHub Repo stars GitHub Traffic GitHub Clones -License -GitHub last commit +License +GitHub last commit

@@ -18,7 +18,7 @@

-

https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2

+

https://github.com/0x8fv/Twitch-Channel-Points-Miner-v2

**Credits** - Main idea: https://github.com/gottagofaster236/Twitch-Channel-Points-Miner @@ -62,19 +62,9 @@ Read more about the channel points [here](https://help.twitch.tv/s/article/chann ## Community If you want to help with this project, please leave a star 🌟 and share it with your friends! 😎 -If you want to offer me a coffee, I would be grateful! ❤️ - -| | | -|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------| -|Donate BTC|`bc1qq49mvgda2zw4f9kta0a85xztwuxewqwac5eckd` _(BTC)_| -|Donate DOGE|`DAKzncwKkpfPCm1xVU7u2pConpXwX7HS3D` _(DOGE)_| -|Donate via DonationAlerts|https://www.donationalerts.com/r/rdavydov| -|Donate via Boosty|https://boosty.to/rdavydov/donate| - -If you have any issues or you want to contribute, you are welcome! But please read the [CONTRIBUTING.md](https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/blob/master/CONTRIBUTING.md) file. - ## Main differences from the original repository: +- Easyier usability especially for beginners 🚀 - Improved logging: emojis, colors, files and much more ✔️ - Final report with all the data ✔️ - Rewritten codebase now uses classes instead of modules with global variables ✔️ @@ -84,8 +74,8 @@ If you have any issues or you want to contribute, you are welcome! But please re - Placing a bet / making a prediction with your channel points [#41](https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/issues/41) ([@lay295](https://github.com/lay295)) ✔️ - Switchable analytics chart that shows the progress of your points with various annotations [#96](https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/issues/96) ✔️ - Joining the IRC Chat to increase the watch time and get StreamElements points [#47](https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/issues/47) ✔️ -- [Moments](https://help.twitch.tv/s/article/moments) claiming [#182](https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/issues/182) ✔️ -- Notifying on `@nickname` mention in the Twitch chat [#227](https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/issues/227) ✔️ +- [Moments](https://help.twitch.tv/s/article/moments) claiming [#182](https://github.com/0x8fv/Twitch-Channel-Points-Miner-v2/issues/182) ✔️ +- Notifying on `@nickname` mention in the Twitch chat [#227](https://github.com/0x8fv/Twitch-Channel-Points-Miner-v2/issues/227) ✔️ ## Logs feature ### Full logs @@ -185,10 +175,10 @@ If you have any issues or you want to contribute, you are welcome! But please re ``` ## How to use: -First of all please create a run.py file. You can just copy [example.py](https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/blob/master/example.py) and modify it according to your needs. + ```python # -*- coding: utf-8 -*- - +!!!!UPDATING THAT SOON!!!! import logging from colorama import Fore from TwitchChannelPointsMiner import TwitchChannelPointsMiner @@ -339,7 +329,7 @@ twitch_miner.mine(followers=True, blacklist=["user1", "user2"]) # Blacklist exa ``` ### By cloning the repository -1. Clone this repository `git clone https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2` +1. Clone this repository `git clone https://github.com/0x8fv/Twitch-Channel-Points-Miner-v2` 2. Install all the requirements `pip install -r requirements.txt` . If you have problems with requirements, make sure to have at least Python3.6. You could also try to create a _virtualenv_ and then install all the requirements ```sh pip install virtualenv @@ -417,7 +407,7 @@ docker run --name user2 -v $(pwd)/user2.py:/usr/src/app/run.py:ro -p 5002:5000 r #### Portainer -[Link](https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/wiki/Deploy-Docker-container-in-Portainer) to the illustrated guide on how to deploy a Docker container in Portainer. +[Link](https://github.com/0x8fv/Twitch-Channel-Points-Miner-v2/wiki/Deploy-Docker-container-in-Portainer) to the illustrated guide on how to deploy a Docker container in Portainer. ### Replit @@ -450,7 +440,7 @@ You can combine all priority but keep in mind that use `ORDER` and `POINTS_ASCEN | `less` | bool | False | Reduce the logging format and message verbosity [#10](https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/issues/10) | | `console_level` | level | logging.INFO | Level of logs in terminal - Use logging.DEBUG for more helpful messages. | | `console_username`| bool | False | Adds a username to every log line in the console if True. [#602](https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/issues/602)| -| `time_zone`| str | None | Set a specific time zone for console and file loggers. Use tz database names. Example: "America/Denver" https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/issues/205| +| `time_zone`| str | None | Set a specific time zone for console and file loggers. Use tz database names. Example: "America/Denver" https://github.com/0x8fv/Twitch-Channel-Points-Miner-v2/issues/205| | `file_level` | level | logging.DEBUG | Level of logs in file save - If you think the log file it's too big, use logging.INFO | | `emoji` | bool | For Windows is False else True | On Windows, we have a problem printing emoji. Set to false if you have a problem | | `colored` | bool | True | If you want to print colored text [#45](https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/issues/45) [#82](https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/issues/82) | @@ -725,7 +715,7 @@ pkg install python-pandas **4. Clone this repository** -`git clone https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2` +`git clone https://github.com/0x8fv/Twitch-Channel-Points-Miner-v2` **5. Go to the miner's directory** diff --git a/TwitchChannelPointsMiner/constants.py b/TwitchChannelPointsMiner/constants.py index c06bced..9477d89 100644 --- a/TwitchChannelPointsMiner/constants.py +++ b/TwitchChannelPointsMiner/constants.py @@ -32,7 +32,7 @@ USER_AGENTS = { BRANCH = "master" GITHUB_url = ( - "https://raw.githubusercontent.com/rdavydov/Twitch-Channel-Points-Miner-v2/" + "https://raw.githubusercontent.com/0x8fv/Twitch-Channel-Points-Miner-v2/" + BRANCH ) diff --git a/assets/charts.html b/assets/charts.html index 51bcf20..6cfb3bd 100644 --- a/assets/charts.html +++ b/assets/charts.html @@ -27,7 +27,7 @@