Bitwise-01 / YouTubeViews-

YouTube view bot
488 stars 257 forks source link

This code appears to be no longer working #75

Open alphanumericaltycoon opened 3 years ago

alphanumericaltycoon commented 3 years ago

Hi,

I've installed the app correctly but it doesn't appear to function. I can see that its trying to visit through different proxies but the visits still show as 0 both in the terminal and on the video.

Does anyone know whether there is a fix?

ghost commented 3 years ago

@alphanumericaltycoon It does say that this code is no longer maintained, although I discovered the same thing. The code appears to be working (no error output), but my views do not seem to be increasing.

@Bitwise-01 I know you don't support this code base any longer, but would you happen to have a quick fix we could try? And is this project completely discontinued, or is there an updated code base elsewhere that we should be using?

ghost commented 3 years ago

When I run on Windows I don't get any errors, but running on Kali I get this:

image

alphanumericaltycoon commented 3 years ago

@edwardsj9090 Does it work as intended on Windows?

I'm trying it now but getting a lot of traceback errors in Win Powershell.

ghost commented 3 years ago

@alphanumericaltycoon Can you post a screenshot here of the errors?

alphanumericaltycoon commented 3 years ago

@alphanumericaltycoon Can you post a screenshot here of the errors?

I have corrected some of the traceback errors since posting. Made me install urllib3 and PySocks (not sure why as it's already in requirements.txt) and didn't stop giving errors until I updated mechanize==0.4.5.

Currently working on resolving this: errors

Guessing I have to run Tor as a service on Windows?

ghost commented 3 years ago

@alphanumericaltycoon Not only run tor as service, but also point lines 119 and 122 to the proper directory that contains Tor. Those lines are pointing to the Linux directory /usr/sbin/tor so just change them to C:\users....\tor.exe (and be sure to use double back slashes in the directory path.

alphanumericaltycoon commented 3 years ago

@edwardsj9090 Thanks, that was helpful.

I'm having some trouble running Tor as a service. After configuring torrc I have the below window open but can't see Tor running as a service when I launch run>services.msc

not sure

When I saw the terminal output I thought it was probably going to be ok but clearly, that hasn't worked. Are there particular commands I'm supposed to run to get it setup?

Many thanks

ghost commented 3 years ago

@alphanumericaltycoon Looks like tor service is running fine. Did you change lines 119 and 122 in the script yet? In the powershell window it's telling you to install Tor because it's looking for the location of the tor.exe (tor service). By default, the script is looking in a Linux directory /usr/sbin/tor. You have to change it to the Windows directory containing your tor executable (the folder that tor is installed in).

alphanumericaltycoon commented 3 years ago

Hi @edwardsj9090

Yes I did. Lines 119 & 122 are pointing to C:\Users\username\AppData\Roaming\tor\tor.exe

ghost commented 3 years ago

@alphanumericaltycoon There should not be any special commands or config to do once you download and install tor. Normall, once you run the install, everything usually gets thrown into a folder (for me it put everything on the desktop). Then when you change the lines in the Python script to point to tor.exe, it will start the service....oh be sure that the tor service is not already running. That might be the issue. Once you install tor, the service normally starts up on its own. Make sure it is NOT running before running the py script.