还有网页打开错误bug
This commit is contained in:
parent
0fe91973f4
commit
6d43775cbd
|
@ -63,9 +63,9 @@ $(function () {
|
|||
//函数队列
|
||||
let queue = [
|
||||
{ url: "https://www.youtube.com/watch?v=LZ7DMB6h-hs", tip: "youtube" },
|
||||
{ url: "https://shopping.google.com/", tip: "shopping" },
|
||||
{ url: "https://play.google.com/", tip: "play_google" },
|
||||
{ url: "https://news.google.com/", tip: "news_google" },
|
||||
{ url: "https://shopping.google.com/", tip: "shopping" },
|
||||
];
|
||||
|
||||
//当前执行的队列索引
|
||||
|
|
|
@ -244,7 +244,13 @@ async function youtube(r, id) {
|
|||
}
|
||||
let all_video = $(".media-item-thumbnail-container");
|
||||
all_video[getRandomInt(0, all_video.length - 1)].click();
|
||||
await delay(getRandomInt(20, 60));
|
||||
// if(getRandomInt(0,1)==0){
|
||||
// //点赞
|
||||
// document.getElementsByClassName('yt-spec-touch-feedback-shape__fill')[3].click()
|
||||
// //订阅
|
||||
// document.getElementsByClassName('yt-spec-touch-feedback-shape__fill')[2].click()
|
||||
// }
|
||||
await delay(getRandomInt(300, 1800));
|
||||
}
|
||||
for (let index = 0; index < getRandomInt(5, 10); index++) {
|
||||
await whict();
|
||||
|
|
Loading…
Reference in New Issue