Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid url none #511

Open
VitaliShilov opened this issue Apr 25, 2024 · 5 comments
Open

invalid url none #511

VitaliShilov opened this issue Apr 25, 2024 · 5 comments

Comments

@VitaliShilov
Copy link

Describe the bug

Сниjjмок

Steps to reproduce

start miner

Expected behavior

fix

Operating system

win 10 x64

Python version

3.10.11

Miner version

1.9.5

Other relevant software versions

No response

Logs

log.zip

Additional context

No response

@OPRESSORZXD
Copy link

same bug here

@ZARAEM
Copy link

ZARAEM commented Apr 27, 2024

+1

@gdcfxvnjvbncvb
Copy link

Had the same issue.
I downloaded a fresh copy (git clone https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2.git), only kept the "analytics" folder, and redone the "run.py" from the "example.py" file of that fresh copy.
I didn't copy the "cookies" folder or the "run.py" file from an older version, or older folder.

@OPRESSORZXD
Copy link

Had the same issue. I downloaded a fresh copy (git clone https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2.git), only kept the "analytics" folder, and redone the "run.py" from the "example.py" file of that fresh copy. I didn't copy the "cookies" folder or the "run.py" file from an older version, or older folder.

you're talking chinese to me, I didn't find any analytics folder or run.py or even that example.py you mentioned.
will I be seeing all this if I git clone instead of download the zip?

@gdcfxvnjvbncvb
Copy link

gdcfxvnjvbncvb commented Apr 27, 2024

you're talking chinese to me, I didn't find any analytics folder or run.py or even that example.py you mentioned. will I be seeing all this if I git clone instead of download the zip?

The "analytics" folder only appears if you use/activate the Analytics.
By default, it is disabled. If you didn't enable it, you won't have an analytics folder.
enable_analytics=False, # Disables Analytics if False. Disabling it significantly reduces memory consumption

If you download the .zip file, there is an "example.py" in it.
Rename "example.py" to "run.py" and modify it for your needs.
Important lines would be the following ones, especially the "make prediction" that is on True in the example.py:
username="your-twitch-username",
password="write-your-secure-psw",
make_predictions=False, # If you want to Bet / Make prediction

And the following block can be reduced:
Text in "example.py":
twitch_miner.mine( [ Streamer("streamer-username01", settings=StreamerSettings(make_predictions=True , follow_raid=False , claim_drops=True , watch_streak=True , bet=BetSettings(strategy=Strategy.SMART , percentage=5 , stealth_mode=True, percentage_gap=20 , max_points=234 , filter_condition=FilterCondition(by=OutcomeKeys.TOTAL_USERS, where=Condition.LTE, value=800 ) ) )), Streamer("streamer-username02", settings=StreamerSettings(make_predictions=False , follow_raid=True , claim_drops=False , bet=BetSettings(strategy=Strategy.PERCENTAGE , percentage=5 , stealth_mode=False, percentage_gap=20 , max_points=1234 , filter_condition=FilterCondition(by=OutcomeKeys.TOTAL_POINTS, where=Condition.GTE, value=250 ) ) )), Streamer("streamer-username03", settings=StreamerSettings(make_predictions=True , follow_raid=False , watch_streak=True , bet=BetSettings(strategy=Strategy.SMART , percentage=5 , stealth_mode=False, percentage_gap=30 , max_points=50000 , filter_condition=FilterCondition(by=OutcomeKeys.ODDS, where=Condition.LT, value=300 ) ) )), Streamer("streamer-username04", settings=StreamerSettings(make_predictions=False , follow_raid=True , watch_streak=True )), Streamer("streamer-username05", settings=StreamerSettings(make_predictions=True , follow_raid=True , claim_drops=True , watch_streak=True , bet=BetSettings(strategy=Strategy.HIGH_ODDS , percentage=7 , stealth_mode=True, percentage_gap=20 , max_points=90 , filter_condition=FilterCondition(by=OutcomeKeys.PERCENTAGE_USERS, where=Condition.GTE, value=300 ) ) )), Streamer("streamer-username06"), Streamer("streamer-username07"), Streamer("streamer-username08"), "streamer-username09", "streamer-username10", "streamer-username11" ], # Array of streamers (order = priority) followers=False, # Automatic download the list of your followers followers_order=FollowersOrder.ASC # Sort the followers list by follow date. ASC or DESC )

Reduced form:
twitch_miner.mine(["streamer-username01", "streamer-username02", "streamer-username03"], # Array of streamers (order = priority) followers=False, # Automatic download the list of your followers followers_order=FollowersOrder.ASC # Sort the followers list by follow date. ASC or DESC )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants