YouTubeViews- icon indicating copy to clipboard operation
YouTubeViews- copied to clipboard

This code appears to be no longer working

Open alphanumericaltycoon opened this issue 4 years ago • 10 comments

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?

alphanumericaltycoon avatar Aug 02 '21 17:08 alphanumericaltycoon

@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 avatar Aug 07 '21 21:08 ghost

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

image

ghost avatar Aug 09 '21 16:08 ghost

@edwardsj9090 Does it work as intended on Windows?

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

alphanumericaltycoon avatar Aug 09 '21 17:08 alphanumericaltycoon

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

ghost avatar Aug 09 '21 18:08 ghost

@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?

alphanumericaltycoon avatar Aug 09 '21 18:08 alphanumericaltycoon

@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.

ghost avatar Aug 10 '21 15:08 ghost

@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

alphanumericaltycoon avatar Aug 19 '21 20:08 alphanumericaltycoon

@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).

ghost avatar Aug 20 '21 18:08 ghost

Hi @edwardsj9090

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

alphanumericaltycoon avatar Aug 20 '21 21:08 alphanumericaltycoon

@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.

ghost avatar Sep 09 '21 21:09 ghost