MShawon / YouTube-Viewer

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

Failed to start #538

Open davidthuong opened 1 year ago

davidthuong commented 1 year ago

Is there an existing issue for this?

I'm submitting a ...

Description

       [ GitHub : https://github.com/MShawon/YouTube-Viewer ]

+-------------------------- Version: 1.8.0 --------------------------+

Getting Chrome Driver... Loading urls... 6 url loaded from urls.txt Loading queries... Traceback (most recent call last): File "C:\Users\thuonghnh\Desktop\YouTube-Viewer-1.8.0\youtube_viewer.py", line 1011, in queries = load_search() File "C:\Users\thuonghnh\Desktop\YouTube-Viewer-1.8.0\youtubeviewer\load_files.py", line 48, in load_search search = [[y.strip() for y in x.strip().split('::::')] File "C:\Users\thuonghnh\Desktop\YouTube-Viewer-1.8.0\youtubeviewer\load_files.py", line 48, in search = [[y.strip() for y in x.strip().split('::::')] File "C:\Users\thuonghnh\AppData\Local\Programs\Python\Python310\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf9 in position 141: invalid start byte

Environment

- OS : 2016
- Python : 3.10.10
- Script version : 111.0.5563.65

config.json

can't start tool
MShawon commented 1 year ago

Attach your search.txt then

davidthuong commented 1 year ago

search.txt

MShawon commented 1 year ago

works fine on my end.. make sure you edit the txt file in vscode or normal text file.