atalaydenknalbant / autosubscriber-youtube

Python Selenium-based automated subscribing, liking,viewing functions for youtube sub4sub websites.
GNU General Public License v3.0
29 stars 10 forks source link

how to fix this? #32

Closed Rambooo69 closed 2 years ago

Rambooo69 commented 2 years ago

.com%2Fsignin.html (1) [0704/055659.297:INFO:CONSOLE(62)] "Mixed Content: The page at 'https://www.subs cribers.video/signin.html' was loaded over HTTPS, but requested an insecure fram e 'http://developers.google.com/#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C _resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload&id=I0_165693 9417777&_gfid=I0_1656939417777&parent=https%3A%2F%2Fwww.subscribers.video&pfname =&rpctoken=20382120'. This request has been blocked; the content must be served over HTTPS.", source: https://apis.google.com/js/plusone.js (62) [0704/055701.814:INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token '<'", source: https://vk.com/share.php?act=count&index=0&url=https%3A%2F%2Fwww.subscri bers.video%2Fsignin.html (1) [0704/055702.017:INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token '<'", source: https://vk.com/share.php?act=count&index=1&url=http%3A%2F%2Fwww.subscrib ers.video%2Fsignin.html (1) [0704/055714.595:INFO:CONSOLE(0)] "Uncaught (in promise) #", source: https:// www.subscribers.video/account.html (0) [0704/055715.150:INFO:CONSOLE(62)] "Mixed Content: The page at 'https://www.subs cribers.video/account.html' was loaded over HTTPS, but requested an insecure fra me 'http://developers.google.com/#_methods=onPlusOne%2C_ready%2C_close%2C_open%2 C_resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload&id=I0_16569 39431499&_gfid=I0_1656939431499&parent=https%3A%2F%2Fwww.subscribers.video&pfnam e=&rpctoken=37471725'. This request has been blocked; the content must be served over HTTPS.", source: https://apis.google.com/js/plusone.js (62) [0704/055719.292:INFO:CONSOLE(1)] "Uncaught TypeError: r.getDefaultBasicServices is not a function", source: https://s7.addthis.com/static/layers.fa6cd1947ce26e 890d3d.js (1) [0704/055722.871:INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token '<'", source: https://vk.com/share.php?act=count&index=0&url=https%3A%2F%2Fwww.subscri bers.video%2Faccount.html (1) [0704/055723.125:INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token '<'", source: https://vk.com/share.php?act=count&index=1&url=http%3A%2F%2Fwww.subscrib ers.video%2Faccount.html (1) [0704/055738.727:INFO:CONSOLE(519)] "Uncaught ReferenceError: addthis is not def ined", source: https://www.subscribers.video/aiomarket.html?idPlan=6 (519) [0704/055740.165:INFO:CONSOLE(0)] "Uncaught (in promise) #", source: https:// www.subscribers.video/aiomarket.html?idPlan=6 (0) [0704/055740.226:INFO:CONSOLE(62)] "Mixed Content: The page at 'https://www.subs cribers.video/aiomarket.html?idPlan=6' was loaded over HTTPS, but requested an i nsecure frame 'http://developers.google.com/#_methods=onPlusOne%2C_ready%2C_clos e%2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload& id=I0_1656939459653&_gfid=I0_1656939459653&parent=https%3A%2F%2Fwww.subscribers. video&pfname=&rpctoken=40184483'. This request has been blocked; the content mus t be served over HTTPS.", source: https://apis.google.com/js/plusone.js (62) [0704/055742.145:INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token '<'", source: https://vk.com/share.php?act=count&index=1&url=http%3A%2F%2Fwww.subscrib ers.video%2Faiomarket.html%3FidPlan%3D6 (1) [0704/055742.487:INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token '<'", source: https://vk.com/share.php?act=count&index=0&url=https%3A%2F%2Fwww.subscri bers.video%2Faiomarket.html%3FidPlan%3D6 (1) [0704/055757.948:INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token '<'", source: https://vk.com/share.php?act=count&index=0&url=https%3A%2F%2Fwww.submeno w.com%2Faccount.html (1) [0704/055758.150:INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token '<'", source: https://vk.com/share.php?act=count&index=1&url=http%3A%2F%2Fwww.submenow .com%2Faccount.html (1) 2022-07-04 05:58:00,339 - INFO - subscribersvideo loop started [0704/055814.076:INFO:CONSOLE(11)] "Uncaught TypeError: Cannot read properties o f undefined (reading 'split')", source: about:srcdoc (11) [0704/055816.725:INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token '<'", source: https://vk.com/share.php?act=count&index=0&url=https%3A%2F%2Fwww.submeno w.com%2Faiomarket.html%3FidPlan%3D8 (1) [0704/055817.022:INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token '<'", source: https://vk.com/share.php?act=count&index=1&url=http%3A%2F%2Fwww.submenow .com%2Faiomarket.html%3FidPlan%3D8 (1) 2022-07-04 05:58:23,660 - INFO - submenow loop started [0704/055836.257:INFO:CONSOLE(5856)] "LegacyDataMixin will be applied to all leg acy elements. Set _legacyUndefinedCheck: true on element class to enable.", source: https:// www.youtube.com/s/desktop/1422277c/jsbin/desktop_polymer.vflset/desktop_polymer. js (5856) [0704/055847.220:INFO:CONSOLE(0)] "Refused to display 'https://accounts.google.c om/' in a frame because it set 'X-Frame-Options' to 'deny'.", source: chrome-err or://chromewebdata/ (0) [0704/055904.060:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0704/055904.061:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0704/055907.865:INFO:CONSOLE(5856)] "LegacyDataMixin will be applied to all leg acy elements. Set _legacyUndefinedCheck: true on element class to enable.", source: https:// www.youtube.com/s/desktop/1422277c/jsbin/desktop_polymer.vflset/desktop_polymer. js (5856) [0704/055916.547:INFO:CONSOLE(0)] "Refused to display 'https://accounts.google.c om/' in a frame because it set 'X-Frame-Options' to 'deny'.", source: chrome-err or://chromewebdata/ (0) [0704/055928.253:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=lVojmIHFsho (0) [0704/055928.393:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=lVojmIHFsho (0)

[0704/055928.490:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=lVojmIHFsho (0) [0704/055933.208:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0704/055933.277:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0704/055933.278:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0704/055933.311:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. Exception in thread Thread-1 (submenow_functions): Traceback (most recent call last): File "C:\Users\Vineeth\AppData\Local\Programs\Python\Python310\lib\threading.p y", line 1009, in _bootstrap_inner self.run() File "C:\Users\Vineeth\AppData\Local\Programs\Python\Python310\lib\threading.p y", line 946, in run self._target(*self._args, **self._kwargs) File "C:\Users\Vineeth\Desktop\gitmaster\selenium_codes\sub4sub_websites_selen ium.py", line 786, in submenow_functions for_loop() File "C:\Users\Vineeth\Desktop\gitmaster\selenium_codes\sub4sub_websites_selen ium.py", line 712, in for_loop google_login(driver, req_dict) File "C:\Users\Vineeth\Desktop\gitmaster\selenium_codes\sub4sub_websites_selen ium.py", line 154, in google_login sign_in_button = driver.find_element(By.CSS_SELECTOR, "#buttons > ytd-button -renderer > a") File "C:\Users\Vineeth\AppData\Local\Programs\Python\Python310\lib\site-packag es\selenium\webdriver\remote\webdriver.py", line 857, in find_element return self.execute(Command.FIND_ELEMENT, { File "C:\Users\Vineeth\AppData\Local\Programs\Python\Python310\lib\site-packag es\selenium\webdriver\remote\webdriver.py", line 435, in execute self.error_handler.check_response(response) File "C:\Users\Vineeth\AppData\Local\Programs\Python\Python310\lib\site-packag es\selenium\webdriver\remote\errorhandler.py", line 247, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.NoSuchElementException: Message: no such element: Una ble to locate element: {"method":"css selector","selector":"#buttons > ytd-butto n-renderer > a"} (Session info: headless chrome=103.0.5060.66) Stacktrace: Backtrace: Ordinal0 [0x002E6463+2188387] Ordinal0 [0x0027E461+1762401] Ordinal0 [0x00193D78+802168] Ordinal0 [0x001C1880+989312] Ordinal0 [0x001C1B1B+989979] Ordinal0 [0x001EE912+1173778] Ordinal0 [0x001DC824+1099812] Ordinal0 [0x001ECC22+1166370] Ordinal0 [0x001DC5F6+1099254] Ordinal0 [0x001B6BE0+945120] Ordinal0 [0x001B7AD6+948950] GetHandleVerifier [0x005871F2+2712546] GetHandleVerifier [0x0057886D+2652765] GetHandleVerifier [0x0037002A+520730] GetHandleVerifier [0x0036EE06+516086] Ordinal0 [0x0028468B+1787531] Ordinal0 [0x00288E88+1805960] Ordinal0 [0x00288F75+1806197] Ordinal0 [0x00291DF1+1842673] BaseThreadInitThunk [0x75AB6A14+36] RtlInitializeExceptionChain [0x77B5A9FF+143] RtlInitializeExceptionChain [0x77B5A9CA+90] (No symbol) [0x00000000]

[0704/055950.096:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=lVojmIHFsho (0) [0704/055950.171:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=lVojmIHFsho (0)

[0704/055950.239:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=lVojmIHFsho (0) [0704/055955.537:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0704/055955.538:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0704/060000.957:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=lVojmIHFsho (0) [0704/060000.963:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=lVojmIHFsho (0)

[0704/060000.970:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=lVojmIHFsho (0) [0704/060017.043:INFO:CONSOLE(5856)] "LegacyDataMixin will be applied to all leg acy elements. Set _legacyUndefinedCheck: true on element class to enable.", source: https:// www.youtube.com/s/desktop/1422277c/jsbin/desktop_polymer.vflset/desktop_polymer. js (5856) [0704/060018.104:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=lVojmIHFsho (0) [0704/060018.107:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=lVojmIHFsho (0)

[0704/060018.109:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=lVojmIHFsho (0) [0704/060027.645:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=lVojmIHFsho (0) [0704/060027.647:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=lVojmIHFsho (0)

[0704/060027.660:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=lVojmIHFsho (0) [0704/060030.514:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=E471NAtwhR0 (0) [0704/060030.525:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=E471NAtwhR0 (0)

[0704/060030.527:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=E471NAtwhR0 (0) [0704/060032.294:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0704/060032.295:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0704/060038.003:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=lVojmIHFsho (0) [0704/060038.004:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=lVojmIHFsho (0)

[0704/060038.005:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=lVojmIHFsho (0) Exception in thread Thread-2 (subscribersvideo_functions): Traceback (most recent call last): File "C:\Users\Vineeth\AppData\Local\Programs\Python\Python310\lib\threading.p y", line 1009, in _bootstrap_inner self.run() File "C:\Users\Vineeth\AppData\Local\Programs\Python\Python310\lib\threading.p y", line 946, in run self._target(*self._args, **self._kwargs) File "C:\Users\Vineeth\Desktop\gitmaster\selenium_codes\sub4sub_websites_selen ium.py", line 609, in subscribersvideo_functions for_loop() File "C:\Users\Vineeth\Desktop\gitmaster\selenium_codes\sub4sub_websites_selen ium.py", line 566, in for_loop sub_button = driver.find_elements(By.ID, IndexError: list index out of range [0704/060041.459:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=E471NAtwhR0 (0) [0704/060041.460:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=E471NAtwhR0 (0)

[0704/060041.467:INFO:CONSOLE(0)] "The resource https://r2---sn-poufvj5cax-cage. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=E471NAtwhR0 (0)

atalaydenknalbant commented 2 years ago

Looks like you can't correctly log in to your google account. First, update your autosubscriber version to 1.935. update your google chrome and get latest chrome user agent by using chrome://version/ and save that user agent to config file. Update webdriver manager and other library versions to latest ones that will solve your problem.

Finally, before starting script just open chrome in incognito mode and login to your google account which you will use for scripting.

atalaydenknalbant commented 2 years ago

Issue closed due to inactivity

Rambooo69 commented 2 years ago

Even after updating and reinstalling everything it still dosent work (Ytpals and Subpals work perfectly fine but even Sonukar dont seem to work)

Running Local Version

2022-07-21 02:56:25,021 - INFO - ====== WebDriver manager ======

2022-07-21 02:56:25,021 - INFO - ====== WebDriver manager ====== 2022-07-21 02:56:25,646 - INFO - Get LATEST chromedriver version for google-chro me None 2022-07-21 02:56:25,678 - INFO - Get LATEST chromedriver version for google-chro me None 2022-07-21 02:56:27,131 - INFO - There is no [win32] chromedriver for browser No ne in cache 2022-07-21 02:56:27,131 - INFO - There is no [win32] chromedriver for browser No ne in cache 2022-07-21 02:56:27,131 - INFO - About to download new driver from https://chrom edriver.storage.googleapis.com/103.0.5060.134/chromedriver_win32.zip 2022-07-21 02:56:27,131 - INFO - About to download new driver from https://chrom edriver.storage.googleapis.com/103.0.5060.134/chromedriver_win32.zip 2022-07-21 02:56:34,459 - INFO - Driver has been saved in cache [C:\Users\Vineet h.wdm\drivers\chromedriver\win32\103.0.5060] 2022-07-21 02:56:34,678 - INFO - Driver has been saved in cache [C:\Users\Vineet h.wdm\drivers\chromedriver\win32\103.0.5060]

DevTools listening on ws://127.0.0.1:50644/devtools/browser/2ece47ae-74f0-49ca-b 954-7c06b250e62c

DevTools listening on ws://127.0.0.1:50646/devtools/browser/9822fab8-a7f0-45f7-9 097-8bff640dcfc6 [0721/025650.618:INFO:CONSOLE(1043)] "Uncaught TypeError: $(...).matchHeight is not a function", source: https://www.subscribers.video/ (1043) [0721/025651.338:INFO:CONSOLE(1174)] "Uncaught ReferenceError: addthis is not de fined", source: https://www.subscribers.video/ (1174) [0721/025652.466:INFO:CONSOLE(0)] "Uncaught (in promise) #", source: https:// www.subscribers.video/ (0) [0721/025653.122:INFO:CONSOLE(62)] "Mixed Content: The page at 'https://www.subs cribers.video/' was loaded over HTTPS, but requested an insecure frame 'http://d evelopers.google.com/#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2 C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload&id=I0_1658397412377&_gf id=I0_1658397412377&parent=https%3A%2F%2Fwww.subscribers.video&pfname=&rpctoken= 76068750'. This request has been blocked; the content must be served over HTTPS. ", source: https://apis.google.com/js/plusone.js (62) [0721/025706.810:INFO:CONSOLE(11)] "Uncaught TypeError: Cannot read properties o f undefined (reading 'split')", source: about:srcdoc (11) [0721/025709.458:INFO:CONSOLE(383)] "Uncaught ReferenceError: addthis is not def ined", source: https://www.subscribers.video/signin.html (383) [0721/025710.098:INFO:CONSOLE(62)] "Mixed Content: The page at 'https://www.subs cribers.video/signin.html' was loaded over HTTPS, but requested an insecure fram e 'http://developers.google.com/#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C _resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload&id=I0_165839 7429999&_gfid=I0_1658397429999&parent=https%3A%2F%2Fwww.subscribers.video&pfname =&rpctoken=15319459'. This request has been blocked; the content must be served over HTTPS.", source: https://apis.google.com/js/plusone.js (62) [0721/025724.314:INFO:CONSOLE(62)] "Mixed Content: The page at 'https://www.subs cribers.video/account.html' was loaded over HTTPS, but requested an insecure fra me 'http://developers.google.com/#_methods=onPlusOne%2C_ready%2C_close%2C_open%2 C_resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload&id=I0_16583 97443073&_gfid=I0_1658397443073&parent=https%3A%2F%2Fwww.subscribers.video&pfnam e=&rpctoken=20882705'. This request has been blocked; the content must be served over HTTPS.", source: https://apis.google.com/js/plusone.js (62) [0721/025726.010:INFO:CONSOLE(1)] "Uncaught TypeError: r.getDefaultBasicServices is not a function", source: https://s7.addthis.com/static/layers.fa6cd1947ce26e 890d3d.js (1) [0721/025743.810:INFO:CONSOLE(11)] "Uncaught TypeError: Cannot read properties o f undefined (reading 'split')", source: about:srcdoc (11) 2022-07-21 02:57:53,773 - INFO - submenow loop started [0721/025802.317:INFO:CONSOLE(519)] "Uncaught ReferenceError: addthis is not def ined", source: https://www.subscribers.video/aiomarket.html?idPlan=6 (519) [0721/025802.757:INFO:CONSOLE(62)] "Mixed Content: The page at 'https://www.subs cribers.video/aiomarket.html?idPlan=6' was loaded over HTTPS, but requested an i nsecure frame 'http://developers.google.com/#_methods=onPlusOne%2C_ready%2C_clos e%2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload& id=I0_1658397482708&_gfid=I0_1658397482708&parent=https%3A%2F%2Fwww.subscribers. video&pfname=&rpctoken=13856264'. This request has been blocked; the content mus t be served over HTTPS.", source: https://apis.google.com/js/plusone.js (62) [0721/025813.781:INFO:CONSOLE(5963)] "LegacyDataMixin will be applied to all leg acy elements. Set _legacyUndefinedCheck: true on element class to enable.", source: https:// www.youtube.com/s/desktop/2cbeb7d0/jsbin/desktop_polymer.vflset/desktop_polymer. js (5963) [0721/025816.045:INFO:CONSOLE(0)] "Refused to display 'https://accounts.google.c om/' in a frame because it set 'X-Frame-Options' to 'deny'.", source: chrome-err or://chromewebdata/ (0) [0721/025821.440:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=pSJA2iW0JvM (0) [0721/025821.442:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=pSJA2iW0JvM (0)

[0721/025821.444:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=pSJA2iW0JvM (0) 2022-07-21 02:58:22,264 - INFO - subscribersvideo loop started [0721/025822.298:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025822.299:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025830.064:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025830.071:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025836.655:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025836.655:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025850.447:INFO:CONSOLE(5963)] "LegacyDataMixin will be applied to all leg acy elements. Set _legacyUndefinedCheck: true on element class to enable.", source: https:// www.youtube.com/s/desktop/2cbeb7d0/jsbin/desktop_polymer.vflset/desktop_polymer. js (5963) [0721/025852.535:INFO:CONSOLE(0)] "Refused to display 'https://accounts.google.c om/' in a frame because it set 'X-Frame-Options' to 'deny'.", source: chrome-err or://chromewebdata/ (0) [0721/025852.871:INFO:CONSOLE(5963)] "LegacyDataMixin will be applied to all leg acy elements. Set _legacyUndefinedCheck: true on element class to enable.", source: https:// www.youtube.com/s/desktop/2cbeb7d0/jsbin/desktop_polymer.vflset/desktop_polymer. js (5963) [0721/025858.159:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025858.175:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025858.359:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=5tk2Nl7huQM (0)

[0721/025858.359:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=5tk2Nl7huQM (0) [0721/025858.359:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=5tk2Nl7huQM (0) [0721/025905.201:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025905.209:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025911.908:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025911.919:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025921.089:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=pSJA2iW0JvM (0) [0721/025921.092:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=pSJA2iW0JvM (0)

[0721/025921.093:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=pSJA2iW0JvM (0) [0721/025923.022:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025923.023:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025925.381:INFO:CONSOLE(5963)] "LegacyDataMixin will be applied to all leg acy elements. Set _legacyUndefinedCheck: true on element class to enable.", source: https:// www.youtube.com/s/desktop/2cbeb7d0/jsbin/desktop_polymer.vflset/desktop_polymer. js (5963) Exception in thread Thread-1 (submenow_functions): Traceback (most recent call last): File "C:\Users\Vineeth\AppData\Local\Programs\Python\Python310\lib\threading.p y", line 1016, in _bootstrap_inner self.run() File "C:\Users\Vineeth\AppData\Local\Programs\Python\Python310\lib\threading.p y", line 953, in run self._target(*self._args, **self._kwargs) File "C:\Users\Vineeth\Desktop\gitmaster\selenium_codes\sub4sub_websites_selen ium.py", line 787, in submenow_functions for_loop() File "C:\Users\Vineeth\Desktop\gitmaster\selenium_codes\sub4sub_websites_selen ium.py", line 735, in for_loop sub_button = driver.find_elements(By.ID, IndexError: list index out of range [0721/025930.643:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025930.644:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025934.442:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=pSJA2iW0JvM (0) [0721/025934.443:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=pSJA2iW0JvM (0)

[0721/025934.446:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=pSJA2iW0JvM (0) [0721/025937.049:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025937.049:ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::Check MediaAccessPermission: Not supported. [0721/025940.425:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=5tk2Nl7huQM (0) [0721/025940.427:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=5tk2Nl7huQM (0)

[0721/025940.429:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=5tk2Nl7huQM (0) [0721/025942.611:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=pSJA2iW0JvM (0) [0721/025942.616:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=pSJA2iW0JvM (0)

[0721/025942.619:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=pSJA2iW0JvM (0) Exception in thread Thread-2 (subscribersvideo_functions): Traceback (most recent call last): File "C:\Users\Vineeth\AppData\Local\Programs\Python\Python310\lib\threading.p y", line 1016, in _bootstrap_inner self.run() File "C:\Users\Vineeth\AppData\Local\Programs\Python\Python310\lib\threading.p y", line 953, in run self._target(*self._args, **self._kwargs) File "C:\Users\Vineeth\Desktop\gitmaster\selenium_codes\sub4sub_websites_selen ium.py", line 607, in subscribersvideo_functions for_loop() File "C:\Users\Vineeth\Desktop\gitmaster\selenium_codes\sub4sub_websites_selen ium.py", line 565, in for_loop sub_button = driver.find_elements(By.ID, IndexError: list index out of range [0721/025949.571:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=5tk2Nl7huQM (0) [0721/025949.573:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=5tk2Nl7huQM (0)

[0721/025949.574:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=5tk2Nl7huQM (0) [0721/025953.702:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204 was preloaded using link preload but not used withi n a few seconds from the window's load event. Please make sure it has an appropr iate as value and it is preloaded intentionally.", source: https://www.youtube .com/watch?v=5tk2Nl7huQM (0) [0721/025953.704:INFO:CONSOLE(0)] "The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the win dow's load event. Please make sure it has an appropriate as value and it is pr eloaded intentionally.", source: https://www.youtube.com/watch?v=5tk2Nl7huQM (0)

[0721/025953.707:INFO:CONSOLE(0)] "The resource https://r1---sn-poufvj5cax-cagl. googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an a ppropriate as value and it is preloaded intentionally.", source: https://www.y outube.com/watch?v=5tk2Nl7huQM (0)

atalaydenknalbant commented 2 years ago

add this code 1 line before where error happens and send me the screenshots. driver.save_screenshot("screenshots/screenshot.png")

atalaydenknalbant commented 2 years ago

looks like sonuker changed their website completely i need to change my code accordingly to comply with their new design

Rambooo69 commented 2 years ago

screenshot

Rambooo69 commented 2 years ago

Thats the screenshot it gav g_screenshot e

atalaydenknalbant commented 2 years ago

EVENT.wait(4) add this before adding driver.save_screenshot("screenshots/screenshot.png")

atalaydenknalbant commented 2 years ago

increase number inside EVENT.wait if youtube still shows empty

atalaydenknalbant commented 2 years ago

Also update your autosubscriber to latest version.

Rambooo69 commented 2 years ago

EVENT.wait(4) add this before adding driver.save_screenshot("screenshots/screenshot.png")

Invalid syntax

atalaydenknalbant commented 2 years ago

EVENT.wait(4)

Rambooo69 commented 2 years ago

submenow randomly started woking but subscriber.video still not vorking

Rambooo69 commented 2 years ago

nevermind it also started working again. so weird