MShawon / YouTube-Viewer

A multithreaded view bot for YouTube
MIT License
1.47k stars 752 forks source link

Error: Message: , List out of index #31

Closed advitrocks9 closed 3 years ago

advitrocks9 commented 3 years ago

The botter works but i keep getting these errors.

image

MShawon commented 3 years ago

search.txt or urls.txt is any of them empty? How many proxies and threads you are using?

advitrocks9 commented 3 years ago

I have 7 links in urls.txt and 1 keyword in search.txt im using about 200 proxies and 100 threads

MShawon commented 3 years ago

I'm not sure why this error is happening.. can you show me your search.txt?

Also make a test with more proxies and less threads.

advitrocks9 commented 3 years ago

This is my search file

image

I ran the files using your proxy system and i got like 90% bad proxies and a few good ones with some errors like: connection failed and list out of index but no message:

image

MShawon commented 3 years ago

Can you try without the emoji?

And the proxy I provided from different github proxy repositories so they all are free.. people are using them a lot so I wouldn't surprise about 90% bad proxies 😆

advitrocks9 commented 3 years ago

I tried without the emoji and i got the same results. where can i get a good proxy list?

advitrocks9 commented 3 years ago

26 had the same error @MShawon

haniyadav commented 3 years ago

I also face it regularly

MShawon commented 3 years ago

@advitrocks9 I see where is the problem.. why did you use | this instead of : Yours should look like this Rockstar : Valorant Montage #6 [1440p]

Here are some proxies source https://github.com/MShawon/YouTube-Viewer/issues/11#issuecomment-772421530

@haniyadav do you see this problem just once when the script runs? Or several times?

advitrocks9 commented 3 years ago

@MShawon I fixed the keywords. For the proxies do i add those links to the file? I also found another interesting repo that you should have a look at https://github.com/KrishnaSagar/genie-youtube-viewbot

advitrocks9 commented 3 years ago

What kind of proxy do you recommend?

MShawon commented 3 years ago

@MShawon I fixed the keywords. For the proxies do i add those links to the file? I also found another interesting repo that you should have a look at https://github.com/KrishnaSagar/genie-youtube-viewbot

No You download proxy from those links..wtf man he exactly copied my project just changed my banner.. not even mentioned original repo in his readme..this isn't cool

advitrocks9 commented 3 years ago

Ok thanks for the clarification. Are you going to take action against him? I mean you should.

MShawon commented 3 years ago

Do you have any idea how can I take action against him?

advitrocks9 commented 3 years ago

@MShawon You can submit a takedown request if the user violates your license. Read more here submit one here

MShawon commented 3 years ago

Okay thanks I will take a look

advitrocks9 commented 3 years ago

Hope you catch him

MShawon commented 3 years ago

Let's first see what he says about this..https://github.com/KrishnaSagar/genie-youtube-viewbot/issues/2

advitrocks9 commented 3 years ago

His account isnt as active as yours. Half of his repos are forked

MShawon commented 3 years ago

Hahaha I see

advitrocks9 commented 3 years ago

if you get lucky he might respond within a month

MShawon commented 3 years ago

Okay maybe I should mail him ask him nicely.

advitrocks9 commented 3 years ago

You can file a takedown req

MShawon commented 3 years ago

He just mailed me he will take down his project.

advitrocks9 commented 3 years ago

Nice 👍

MShawon commented 3 years ago

@advitrocks9 thank you for letting me know about this.

advitrocks9 commented 3 years ago

@advitrocks9 thank you for letting me know about this.

Thanks . Can you make some releases for windows and linux so only the files that are needed for each os are there? It makes it a bit less cluttered.

MShawon commented 3 years ago

The only difference between Linux and windows here is just the two chrome drivers..other than everything is same for two OS. Or did you mean executable?

advitrocks9 commented 3 years ago

I meant that half the files are useless. image image

advitrocks9 commented 3 years ago

Coming back to the issue. I still dont know what those errors mean. "List is out of index". Are http proxies better than socks4/5 and what kind of proxies does the code work best with.

MShawon commented 3 years ago

No those files are part of the projects..you cannot just remove them..like readme donate png those are for github repository

And if you delete search.txt your program will throw list out of index error.. this script works with any http/https or socks4/5.

advitrocks9 commented 3 years ago

oh ok.

KkK1337 commented 3 years ago

Currently the software is only working from direct URL, you can make that search.txt empty, something throwing it

if you see message index out of range that's mean youtube_search is not working Also make sure your chromedriver.exe is in folder don't put in same direction as the whole project, you will have problems with google driver

OSNAME = platform.system() if OSNAME == 'Windows': driver_path = 'chromedriver_win32/chromedriver.exe' elif OSNAME == 'Linux': driver_path = 'chromedriver_linux64/chromedriver' else: print('{} OS is not supported.'.format(OSNAME)) sys.exit()

advitrocks9 commented 3 years ago

I edited the code so that i dont need the search feature and i also changed the dir of the chromedriver.

MShawon commented 3 years ago

This is my search file

image

I ran the files using your proxy system and i got like 90% bad proxies and a few good ones with some errors like: connection failed and list out of index but no message:

image

@advitrocks9 you're totally right. I forgot to implement socks4/5 proxy supports. That's why almost 90% of the proxies are dead. I will soon add socks4/5 proxy supports.