Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Trying to get a twitch viewbot working

Hello Everyone,

I am trying to get an old twitch viewbot working again. I've gone through and made some edits to code.  Mostly removing livestreamer.exe and adding in streamlink.exe, it's predecessor.   The bot does send head requests, but no views are showing up in the channel.  Can anyone assist?

[paste]pastebin.com/n0sZQefx[/paste]


Thanks!
I would recommend you to use selenium instead of requests. You will be seen more like real human not a bot.
Ah ok, thank you for suggestion. Is that as simple as installing selenium and then doing import selenium? or is there further editing needed?
(Apr 15, 2020 11:42 AM)pythonnoob2 Wrote:  Ah ok, thank you for suggestion. Is that as simple as installing selenium and then doing import selenium? or is there further editing needed?

That would be a start but looking at your code, you'll need to re write some of it but it shouldn't be a huge task since selenium isn't hard to figure out and I find it a little easier than requests to learn.

Here is the documentation:
https://selenium-python.readthedocs.io/
I guess that some further edits would be needed. Hit me up on discord, I can help you with this one.
JOEY3#1201
(Apr 15, 2020 11:50 AM)Flash7475 Wrote:  That would be a start but looking at your code, you'll need to re write some of it but it shouldn't be a huge task since selenium isn't hard to figure out and I find it a little easier than requests to learn.

Here is the documentation:

Thank you!! I will review this now.

(Apr 15, 2020 11:51 AM)CDKEYS4BTC Wrote:  I guess that some further edits would be needed. Hit me up on discord, I can help you with this one.
JOEY3#1201

Adding you now!
I smell valorant code idling from a mile away
(Jul 12, 2023 04:49 AM)-Scrub Wrote:  i fucked my friend in the ass while he sucked off his friend and then switched and then my friend fucked his friend in the ass and i fucked my friends friend in the ass and we all cummed on my friends friend..
(Apr 15, 2020 11:50 AM)Flash7475 Wrote:  That would be a start but looking at your code, you'll need to re write some of it but it shouldn't be a huge task since selenium isn't hard to figure out and I find it a little easier than requests to learn.

Here is the documentation:
https://selenium-python.readthedocs.io/

The only problem with selenium is that it takes up massive amounts of ressources compared to requests.
[Image: 0DvFxnA.gif]
Donate: 3ABKRghau93ziRaDfVwiiwtjky3i1gLrKn
(Apr 15, 2020 04:52 PM)Lrrr Wrote:  I smell valorant code idling from a mile away

Games trash... imo.

(Apr 16, 2020 07:16 AM)lockhead Wrote:  The only problem with selenium is that it takes up massive amounts of ressources compared to requests.


I've been seeing that. We have the code semi working, but it eats up alot of resources. Would requests still work?
any luck on this project? been looking for a stable viewbot that works with proxy list for a long time now
(Apr 16, 2020 09:22 AM)pythonnoob2 Wrote:  Games trash... imo.



I've been seeing that.  We have the code semi working, but it eats up alot of resources.  Would requests still work?

Late response, but since the thread is up anyways... You could use requests and randomize header data. Requests has the tools necessary through headers and socks to forge "realistic-ish" identities. Selenium is not made for resource optimization.

[Image: qZ42qWp.jpg]

(Apr 15, 2020 11:50 AM)Flash7475 Wrote:  That would be a start but looking at your code, you'll need to re write some of it but it shouldn't be a huge task since selenium isn't hard to figure out and I find it a little easier than requests to learn.

Here is the documentation:
https://selenium-python.readthedocs.io/

(May 1, 2020 06:37 PM)ihatevim Wrote:  Late response, but since the thread is up anyways... You could use requests and randomize header data. Requests has the tools necessary through headers and socks to forge "realistic-ish" identities. Selenium is not made for resource optimization.

Can I share some code with you? In theory, it should work. It's an old twitch bot that I updated with streamlink, opposed to livestreamer. It utilizes requests but I'm not sure I have the header data randomized. As my name states, I am a noob lol
(May 2, 2020 12:12 PM)pythonnoob2 Wrote:  Can I share some code with you?  In theory, it should work.  It's an old twitch bot that I updated with streamlink, opposed to livestreamer.  It utilizes requests but I'm not sure I have the header data randomized.  As my name states, I am a noob lol

Feel free to use the code tags and post it in the thread or message me directly.

[Image: qZ42qWp.jpg]

Still looking for help on this if anyone can.
Still looking if anyone is willing to assist!


Possibly Related Threads...
Thread / Author Replies Views Last Post
by toptechMar 13, 2023 10:14 PM 1 570 Mar 13, 2023 10:14 PM
Last Post: Biggy
[Python] by PatchzDexJun 28, 2020 10:24 AM 2 118 Jun 28, 2020 10:24 AM
Last Post: PatchzDex
[C#] by -PUBG-May 18, 2019 07:48 AM 2 313 May 18, 2019 07:48 AM
Last Post: -PUBG-