This commit is contained in:
TheNetsky
2023-10-02 11:52:12 +02:00
parent 8fef05a2b7
commit e8cb195f54
17 changed files with 341 additions and 149 deletions

View File

@@ -99,6 +99,14 @@ async function Mobile(account: Account) {
const data = await getDashboardData(page)
// If no mobile searches data found, stop (Does not exist on new accounts)
if (!data.userStatus.counters.mobileSearch) {
log('MAIN', 'No mobile searches found, stopping')
// Close mobile browser
return await browser.close()
}
// Do mobile searches
if (searches.doMobile) {
await doSearch(page, data, true)