Bitwise-01 / YouTubeViews-

YouTube view bot
488 stars 257 forks source link

Error: Network unreachable #59

Open jethr0-1 opened 4 years ago

jethr0-1 commented 4 years ago

I have started and restarted Tor, downloaded PySocks, everything, but I am getting this error over and over and over.

How do I make this work?

Louber1 commented 3 years ago

have the same issue

konstantine-v commented 3 years ago

To solve this issue you'll need tor installed through a package manager.

Refer to this issue for some help. https://github.com/Bitwise-01/YouTubeViews-/issues/28#issuecomment-615999880

Steps

This is assuming you're running a Linux distro on your machine.

  1. Go to your package manager, apt or pacman etc. and install the tor
  2. After successful install check where tor package is located by running where tor
  3. Edit youtube.py to use the path to where tor is located
  4. Run sudo tor to setup the proxy connection
  5. Now you can run the python script with the parameters you need

That being said, this project looks to be abandoned, I'd recommend using another project or look at the forks for a usable solution.4

chefo66 commented 3 years ago

Hello everybody, for me it also looks abandoned. I tried this script yesterday on a kali live usb system. The python script runs and I also got the message tor is running, but after every IP address I also see the message error: network unreachable . For me it seems that maybe the ip,s are blocked by Youtube because they try to avoid this kind of bot views. Best regards

konstantine-v commented 3 years ago

chefo66, I'm sure YouTube checks for tor traffic but I'm not sure if they block it outright unless there's been malicious intent from that node, That being said you can always visit the site from an Invidious onion mirror and gain views that way as opposed to YouTube so that may be an option if you're looking to make a fork of this repo.

There's another repo on Github that does essentially the same thing as this one but better and can run within a Docker container: https://github.com/soumyadityac/youtube-viewer

chefo66 commented 3 years ago

Some proxy are maybe blocked and some not. Not really sure how YT is doing that. I also have tor browser installed on Android and very often cannot watch the video, so think the main topic is tor. The script itself runs good. For me it's not so important, I only checked it because of interest how it works. Maybe I spend a cup of time and also try the docker, because docker maybe I can use also for other things. Thanks...