Hello! The script is interesting and performs tasks related to YouTube.
Here is a brief overview of its interface and sequential actions (short version)
Task: Analyze this script and fix all errors. I will describe the errors that occur below.
Please write either in the comments or in private messages the approximate amount you would be willing to take for the work.
After discussing the details, we will talk about the exact amount.
Here is a new file of this script. This is an updated file, it takes into account YouTube updates and is a more functional version. Please analyze it in detail, also describe all its functionality. Let's try to improve it together.
What this script does step by step from my perspective as a user of this script, not from the code perspective. First, let's go through the settings available in the interface:
Basic settings:
Video quality
Registration - skip
Authorization - skip, as I do not use registered Google accounts. I create a new profile without registration
Boosting - active menu
enable profile boosting
maximum number of boosted profiles
% probability of boosting
settings for boosting, what actions need to be performed
path to files where to take text for boosting and where to take links for boosting
Progress - active menu
enable profile boosting
% probability of boosting
settings for boosting, what actions need to be performed
path to files where to take text for boosting and where to take links for boosting
Ratio of transitions for boosting:
Google
Yandex
YouTube
direct link
My YouTube channel
Now how this script works:
starts by launching streams in the specified quantity
checks if there are enough profiles
if there are enough, it enters one of them, if not, it creates a new one
if new, it goes to boost the profile
if not new, it goes to warm up the profile
then it goes to the My YouTube channel tab
takes the search key and goes to YouTube
types in the YouTube search the search tag from the file and looks for matches of my video. Since I provide the search tag in the format: tag;link to the video. Therefore, as soon as the script sees that it has found the video we need by the search tag, it goes to it and pauses for the range I set, which is equivalent to watching the video. If an ad appears, it clicks it. After viewing, it exits and closes the stream. Also, there is a direct transition to the video via the link. Such links I place in another file and provide access. I describe the ratio myself.
Here is a brief overview of the interface of the script and the actions it performs. Therefore, your task is to analyze everything written in the script and prepare for the corrections that need to be made.
Errors:
I want you to improve the performance of this version. I have the following errors or difficulties while working: 1. [172408654] [18:07:57] Stream No.5: Enough. Taking any profile. Unable to create browser, insufficient system resources. Memory 81107 MB, CPU 100% 2. I added a screenshot (black screen that YouTube shows). I do not understand what the problem is, what it is related to, and how it can be fixed. 3. [985253551] [18:07:57] Stream No.10: The stream ended with the message "Timeout while executing LoadPage data:text/plain," And here are all the other failures:
Successful(4612) Messages: 4612 - Ok
Failures(1856) Messages: 1417 - [380495772] An error occurred while playing the video (black screen) 323 - [793354105] FingerprintSwitcher key is missing 30 - [985253551] Timeout while executing LoadPage data:text/plain, 20 - [565947795] Failed to wait for element >CSS> .ytSearchboxComponentInput 17 - [985253551] Timeout during creating new process 17 - [323401542] Timeout while executing script for[documentRoot] 10 - [232737999] Failed to wait for element >MATCH>ad-skip-button 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/zxkwbmkzk2$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/zihdbxrcrr$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/8p5pfbz1bt$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/zxnzb5p06n$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/yn1vad7bi9$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/g51hb5zjj1$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/7y5wnv5u4w$ 1 - [158302615] Timeout while executing script for[documentRoot] 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/a1unl144zm$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/vmb3b66yh6$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/0d08j1cro2$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/ri2ztztyk0$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/cdsjlulhal$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/uyawveuk2l$ 1 - [155360949] Timeout while executing script for[documentRoot] 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/vplooe3rxz$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/g4nybi4j91$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/gqn8a41tgm$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/h5fq1kes49$ 1 - [520990856] Failed to wait for element >CSS> .ytp-play-button 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/dkytyavvh5$ 1 - [985253551] Failed to switch to profile D:/YTMonster/Settings/Profile/xbp2qw851f$
Failures and recovered(6489) Messages: 6103 - Empty reply from server 298 - Failed to wait for the full page load 23 - Timeout while executing WorkerSettings 21 - Timeout while executing LoadPage https://www.youtube.com/17 - Timeout while executing script for[documentRoot] 9 - Failed to load page https://www.youtube.com/ : net::ERR_CONNECTION_RESET 7 - Failed to load page https://www.youtube.com/ : net::ERR_SSL_PROTOCOL_ERROR 3 - Failed to wait for element >CSS> .ytd-mealbar-promo-renderer.style-text > .yt-simple-endpoint > paper-button.style-scope > .style-scope 3 - Timeout during creating new process 1 - Failed to load page https://www.youtube.com/ : net::ERR_CONNECTION_CLOSED 1 - Recv failure: Connection was reset 1 - Failed to load page https://www.youtube.com/ : net::ERR_TIMED_OUT 1 - Failed to wait for element >MATCH>CiSPTuOq1VI>AT>2 1 - Failed to wait for element >MATCH>P8MzrHFLtg8>AT>1
Runtime: 2d04:58:36
Last message: The script is still running