MShawon / YouTube-Viewer

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

How include ca.crt file? #80

Closed vasiliy1708 closed 3 years ago

vasiliy1708 commented 3 years ago

https://ibb.co/QQH8bxS

MShawon commented 3 years ago

Your temp directory is getting cleaned automatically? Exe file extract first in temp directory. So you deleted temp directory?

louismeuret commented 3 years ago

I had exactly the same problem, which seems to come from Selenium-wire, I installed it independently with pip and it seems to work better, I still have an error with Selenium ("Line: 231 | There is no current event loop in thread 'ThreadPoolExecutor-0_1'.) but I try to fix it. It's only in youtube-premium.

vasiliy1708 commented 3 years ago

Your temp directory is getting cleaned automatically? Exe file extract first in temp directory. So you deleted temp directory? No.

MShawon commented 3 years ago

Okay like @Cyanure23012001 said could be a problem with the executable.. I will soon upload a new exe

vasiliy1708 commented 3 years ago

created a seleniumwire folder and added ca.crt and ca.key now a new bug https://ibb.co/b7nPy1N thank for your work

MShawon commented 3 years ago

on my pc, it's working..I can't reproduce the error...anyway wait few hours...I will release a new version.

louismeuret commented 3 years ago

I get the same error with the .py version, I don't know the cause for the moment, but thanks for trying for us !

MShawon commented 3 years ago

check latest release.

louismeuret commented 3 years ago

I think it works now, thank you very much, I still have errors but they don't seem to have any impact. https://ibb.co/270R3jk

MShawon commented 3 years ago

@Cyanure23012001 how many threads and proxies you are using?

louismeuret commented 3 years ago

10 proxies, 5 threads

MShawon commented 3 years ago

@Cyanure23012001 but the bot is watching videos without any issue?

louismeuret commented 3 years ago

It seems that it does indeed, it seems that Selenium-wire causes a bad management of threads

MShawon commented 3 years ago

could be cause with selenium I have never seen something like this. But after switching to selenium these things are happening