diff --git a/.DS_Store b/.DS_Store index 6d2421e..f8d7c2b 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/config/config.json b/config/config.json index 204f29e..b5f0643 100644 --- a/config/config.json +++ b/config/config.json @@ -16,6 +16,6 @@ "2captcha_apikey": "9d5bfe53117b1fa6c68b8fc400c276ac", "ClearCaptcha_token": "cd5f0ffb5b6a418482da5a80b76223bc", "phone_service": "smshub", - "sms_apikey": "163394U2fa1f9ed20daa88fd3054fef7c78d507" + "sms_apikey": "163394U12401a2e380f0b76af34fd2c4cab3a8e" } } \ No newline at end of file diff --git a/data/.DS_Store b/data/.DS_Store index c92dd17..c6f2ce4 100644 Binary files a/data/.DS_Store and b/data/.DS_Store differ diff --git a/data/accounts.txt b/data/accounts.txt index dc6870a..49fd0ee 100644 --- a/data/accounts.txt +++ b/data/accounts.txt @@ -1,7 +1,25 @@ -boleslav.birukova48es@yandex.com|CByKk6vUBxzS|3:1727965433.5.0.1727965433638:KnXF2Q:3289.1.2:1|2032414583.0.2.3:1727965433|3:10296189.459695.sKigbWb1AheFzpts0mYRTnPcOaM -bersov19es@yandex.com|3leNJE9AhmvN|3:1727968859.5.0.1727968859893:aOeHHw:ee85.1.2:1|2032435146.0.2.3:1727968859|3:10296191.205675.EWTaVNvD6z52F_YPSK6pVIl0x0I -ezueva45es@yandex.com|SDZvgFl7B3RE|3:1727971521.5.0.1727971521821:4VYgLg:8c5c.1.2:1|2032451670.0.2.3:1727971521|3:10296191.805910.d_navPs519TPgsUhVhqp80iyEuU -nik1tin.natalya@yandex.com|bmras47UgwiE|3:1728998446.5.0.1728998446258:mR4OXw:eeb4.1.2:1|2037058842.0.2.3:1728998446|3:10296767.177464.urP-rc4yAaedh1x76DOXqVInKXU -k4pustinaartur@yandex.com|yKtApKvlyzRN|3:1729000872.5.0.1729000872319:GhehLg:1964.1.2:1|2037074103.0.2.3:1729000872|3:10296767.450779.ndYzlr4yOM6ja9GIkkOtGvkbc30 -erschova.sergei@yandex.com|hN7SSRuX95yR|3:1729001236.5.0.1729001236472:zBShLg:3642.1.2:1|2037076490.0.2.3:1729001236|3:10296767.128036.86nouAkaL1efBtrF4aiuAipOTRs -fomicev.eva91es@yandex.com|GB1kIaqsAlOV|3:1729001370.5.0.1729001370891:zBShLg:12bf.1.2:1|2037077379.0.2.3:1729001370|3:10296767.245912.N6ausCpkep7_fo28lTHsgCfNCFQ +aroslava.fokina33es@yandex.com|WIUEzISKFWSN|3:1727804395.5.0.1727804395467:1VCwsg:63d0.1.2:1|2031733475.0.2.3:1727804395|3:10296099.455640.A449lBbQsectimVH0mwzGQ9855A; +nika.zukov62es@yandex.com|7tqsAOJt0cMf|3:1727804403.5.0.1727804403108:irLBWw:8378.1.2:1|2031733547.0.2.3:1727804403|3:10296099.804168.t95sqwipc9XDiBp2om1hywbchw0; +matveev.vladlen85es@yandex.com|f43eWrRrq7cl|3:1727804408.5.0.1727804408088:H1OtHw:6cf1.1.2:1|2031733592.0.2.3:1727804408|3:10296099.579702.jf7ubr-ogZgWsnTA2RfDaV091H0; +wdorofeev35es@yandex.com|PGTuW3XoUVnK|3:1727804418.5.0.1727804418676:VFSwsg:ed40.1.2:1|2031733689.0.2.3:1727804418|3:10296099.426402.N0TBYpixeAN4etzjz0QyJYlDuVw; +platon6837es@yandex.com|k3742XlgHEyU|3:1727804436.5.0.1727804436028:BJxxWQ:bfd5.1.2:1|2031733819.0.2.3:1727804436|3:10296099.803442.gyJcASJAAp8FoBwdt0Q8xM6SPTQ; +anton.lapina52es@yandex.com|q4kA20YxUjMZ|3:1727804488.5.0.1727804488227:flewsg:ca78.1.2:1|2031734149.0.2.3:1727804488|3:10296099.293190.osd1u17C8U8oXkDBAPVWqeJeqSE; +rstepanova26es@yandex.com|MFJH8N59FeY6|3:1727804504.5.0.1727804504644:IZJxWQ:4506.1.2:1|2031734264.0.2.3:1727804504|3:10296099.676336.WAZvuNzklqtzFOt1C2T-yyeVZ_Q; +akim2724es@yandex.com|fMZwkG2PK3ZT|3:1727804531.5.0.1727804531108:UbHBWw:b0fd.1.2:1|2031734465.0.2.3:1727804531|3:10296099.962200.-0aXs5WbX5FFPs4Bx59yMWecNVA; +rusakov.rada52es@yandex.com|Po4RaEOQCgbx|3:1727804603.5.0.1727804603735:YaoZXg:1da6.1.2:1|2031734896.0.2.3:1727804603|3:10296099.365153.dh2t4PDks26vH4F4XazmPR0cO7A; +ersova.platon97es@yandex.com|AYCunnuIRp0I|3:1727804614.5.0.1727804614464:LLHBWw:8c5c.1.2:1|2031734954.0.2.3:1727804614|3:10296099.507823.1cL3LfoANdvbgHQHPLM1rw-HoU0; +garri.denisov41es@yandex.com|UNBqp12khNSF|3:1727804633.5.0.1727804633117:iJhxWQ:2ad0.1.2:1|2031735070.0.2.3:1727804633|3:10296099.993967.mOTozT8q6Rh-y8CkSg5i39LDT-k; +polina4119es@yandex.com|o6S4kgHEWT8K|3:1727804649.5.0.1727804649511:8a8ZXg:b40b.1.2:1|2031735186.0.2.3:1727804649|3:10296099.697675.59Xyvpva-cp3bEth1ANwQJdA97s; +oksana.belova97es@yandex.com|dVbiNlEXwQok|3:1727804665.5.0.1727804665904:QVGtHw:d224.1.2:1|2031735281.0.2.3:1727804665|3:10296099.419205.85DMYryEfYbcbLgaDb6kppEd1uE; +zinaida.kalinina99es@yandex.com|vmnn0g75EjCS|3:1727804701.5.0.1727804701951:opFxWQ:3642.1.2:1|2031735496.0.2.3:1727804701|3:10296099.475935.cdvFHXP86dtZInx7fhWScDoHSdA; +ffilatova81es@yandex.com|aKfpaINwmFwV|3:1727804756.5.0.1727804756891:JrLBWw:25f1.1.2:1|2031735814.0.2.3:1727804756|3:10296099.294789.0dB6JaG8EWJU-5o4Blhf986wVbI; +rrusakov28es@yandex.com|DSQHY5NQBBt2|3:1727804765.5.0.1727804765411:npZxWQ:3289.1.2:1|2031735862.0.2.3:1727804765|3:10296099.677147.hEP3QnWoJFdA58qHU2Gd8szA_P0; +fedor.isakov81es@yandex.com|4Yt462ozNEeE|3:1727804816.5.0.1727804816934:ZpJxWQ:195c.1.2:1|2031736152.0.2.3:1727804816|3:10296099.806324.euxQ3mDKIwFQxwGc6h-QoiTk034; +fedoseev.viktor74es@yandex.com|xNdl8Zm0Sj5a|3:1727804831.5.0.1727804831838:OLPBWw:145a.1.2:1|2031736229.0.2.3:1727804831|3:10296099.893204.piaipBbugPLujTANIgS_p05mcO0; +oksana0325es@yandex.com|XzfEvMjBggMD|3:1727804840.5.0.1727804840994:WZJxWQ:c55c.1.2:1|2031736293.0.2.3:1727804840|3:10296099.581025.5vHSPRe_VSUFS7_KiSpadB1XWuM; +uterenteva29es@yandex.com|dbaOnNOsTuMO|3:1727804851.5.0.1727804851430:qrDBWw:ea73.1.2:1|2031736354.0.2.3:1727804851|3:10296099.802100.AztUBM4orO7ih10egYS40H5XEME; +ukulagina35es@yandex.com|8IEyaJdEjkME|3:1727804859.5.0.1727804859334:j1GtHw:3da8.1.2:1|2031736407.0.2.3:1727804859|3:10296099.164222.DmkpEhcslLG-ji9wUf3QCnuol68; +filipp.ilin62es@yandex.com|vASAfuEyxjwZ|3:1727804893.5.0.1727804893920:ZrPBWw:f22a.1.2:1|2031736590.0.2.3:1727804893|3:10296099.688570.aduA5oYZmUA1lNZQVfJdJqa3A1k; +rafail6545es@yandex.com|oD2vnAaICsic|3:1727804912.5.0.1727804912982:a1Gwsg:6712.1.2:1|2031736697.0.2.3:1727804912|3:10296099.184650.KAQZu6thG3hmldU0Qo-6Il9lvJg; +inna7625es@yandex.com|8uEXK5vdq94A|3:1727804939.5.0.1727804939453:S-zcUw:7057.1.2:1|2031736832.0.2.3:1727804939|3:10296099.721046.IAnLHn66LAjvqKKGZgkoi8VYAXs; +rodion.semenov71es@yandex.com|uPdR5bMkCDys|3:1727804954.5.0.1727804954397:6rDBWw:a376.1.2:1|2031736912.0.2.3:1727804954|3:10296099.558097.snVjuhklSirnPwDZt95OLsCs7zM; \ No newline at end of file diff --git a/data/stream/stats.json b/data/stream/stats.json index 040b620..105636c 100644 --- a/data/stream/stats.json +++ b/data/stream/stats.json @@ -78,6 +78,85 @@ "first_listen": "2024-10-27 01:28:02" } ] + }, + "https://music.yandex.ru/album/216834": { + "stream_count": 12, + "listener_count": 12, + "like_count": 9, + "listener_accounts": [ + { + "email": "konstantinova.artemij94es@yandex.com", + "listen_count": 1, + "last_listen": "2024-10-27 01:25:37", + "first_listen": "2024-10-27 01:25:37" + }, + { + "email": "iskra.lavrentiev@yandex.com", + "listen_count": 1, + "last_listen": "2024-10-27 01:25:49", + "first_listen": "2024-10-27 01:25:49" + }, + { + "email": "anastasia.lihachyov@yandex.com", + "listen_count": 1, + "last_listen": "2024-10-27 01:25:59", + "first_listen": "2024-10-27 01:25:59" + }, + { + "email": "nickolaipawlova@yandex.com", + "listen_count": 1, + "last_listen": "2024-10-27 01:26:10", + "first_listen": "2024-10-27 01:26:10" + }, + { + "email": "merckushev.veronika@yandex.com", + "listen_count": 1, + "last_listen": "2024-10-27 01:26:22", + "first_listen": "2024-10-27 01:26:22" + }, + { + "email": "ignaty.tswetckov@yandex.com", + "listen_count": 1, + "last_listen": "2024-10-27 01:26:33", + "first_listen": "2024-10-27 01:26:33" + }, + { + "email": "fdanilova54es@yandex.com", + "listen_count": 1, + "last_listen": "2024-10-27 01:26:45", + "first_listen": "2024-10-27 01:26:45" + }, + { + "email": "kulikova.naz@yandex.com", + "listen_count": 1, + "last_listen": "2024-10-27 01:27:18", + "first_listen": "2024-10-27 01:27:18" + }, + { + "email": "anatoly.semyonova@yandex.com", + "listen_count": 1, + "last_listen": "2024-10-27 01:27:29", + "first_listen": "2024-10-27 01:27:29" + }, + { + "email": "efimova.dmit@yandex.com", + "listen_count": 1, + "last_listen": "2024-10-27 01:27:42", + "first_listen": "2024-10-27 01:27:42" + }, + { + "email": "gorbacheova.j@yandex.com", + "listen_count": 1, + "last_listen": "2024-10-27 01:27:51", + "first_listen": "2024-10-27 01:27:51" + }, + { + "email": "evgeniadjachkov@yandex.com", + "listen_count": 1, + "last_listen": "2024-10-27 01:28:02", + "first_listen": "2024-10-27 01:28:02" + } + ] } } } \ No newline at end of file diff --git a/source/api/__pycache__/__init__.cpython-313.pyc b/source/api/__pycache__/__init__.cpython-313.pyc new file mode 100644 index 0000000..8220f3e Binary files /dev/null and b/source/api/__pycache__/__init__.cpython-313.pyc differ diff --git a/source/api/__pycache__/bank.cpython-313.pyc b/source/api/__pycache__/bank.cpython-313.pyc new file mode 100644 index 0000000..a873dd1 Binary files /dev/null and b/source/api/__pycache__/bank.cpython-313.pyc differ diff --git a/source/api/__pycache__/creator.cpython-312.pyc b/source/api/__pycache__/creator.cpython-312.pyc index b3e7f6c..4bb0f22 100644 Binary files a/source/api/__pycache__/creator.cpython-312.pyc and b/source/api/__pycache__/creator.cpython-312.pyc differ diff --git a/source/api/__pycache__/creator.cpython-313.pyc b/source/api/__pycache__/creator.cpython-313.pyc new file mode 100644 index 0000000..934cebb Binary files /dev/null and b/source/api/__pycache__/creator.cpython-313.pyc differ diff --git a/source/api/__pycache__/fingerprint.cpython-313.pyc b/source/api/__pycache__/fingerprint.cpython-313.pyc new file mode 100644 index 0000000..f274b53 Binary files /dev/null and b/source/api/__pycache__/fingerprint.cpython-313.pyc differ diff --git a/source/api/__pycache__/session.cpython-313.pyc b/source/api/__pycache__/session.cpython-313.pyc new file mode 100644 index 0000000..12c4ad5 Binary files /dev/null and b/source/api/__pycache__/session.cpython-313.pyc differ diff --git a/source/api/__pycache__/streamer.cpython-313.pyc b/source/api/__pycache__/streamer.cpython-313.pyc new file mode 100644 index 0000000..cfd4bfa Binary files /dev/null and b/source/api/__pycache__/streamer.cpython-313.pyc differ diff --git a/source/api/creator.py b/source/api/creator.py index 1bbaf8b..4b03dc9 100644 --- a/source/api/creator.py +++ b/source/api/creator.py @@ -220,6 +220,7 @@ def _flow_submit(self, csrf_value: str) -> None: data = { 'csrf_token': csrf_value, 'process': "ENTRY_REGISTER_PORTAL_PROCESS", + "isSimplifiedPhoneAuth": "false" } response = self.make_request(f"{self.BASE_URL}/registration-validations/user-entry-flow-submit", data) if response["status"] != "ok": diff --git a/source/core/__pycache__/app.cpython-312.pyc b/source/core/__pycache__/app.cpython-312.pyc index eba6c91..ac60808 100644 Binary files a/source/core/__pycache__/app.cpython-312.pyc and b/source/core/__pycache__/app.cpython-312.pyc differ diff --git a/source/core/__pycache__/app.cpython-313.pyc b/source/core/__pycache__/app.cpython-313.pyc index e545e11..ded7ad2 100644 Binary files a/source/core/__pycache__/app.cpython-313.pyc and b/source/core/__pycache__/app.cpython-313.pyc differ diff --git a/source/core/__pycache__/launcher.cpython-313.pyc b/source/core/__pycache__/launcher.cpython-313.pyc index ca1812e..e40318e 100644 Binary files a/source/core/__pycache__/launcher.cpython-313.pyc and b/source/core/__pycache__/launcher.cpython-313.pyc differ diff --git a/source/core/launcher.py b/source/core/launcher.py index 3f26be5..d539a77 100644 --- a/source/core/launcher.py +++ b/source/core/launcher.py @@ -16,6 +16,8 @@ from source.api.streamer import Streamer from source.api.creator import Creator +LOADER_TYPE = 1 # 0 for .cookie load - 1 for user:pass:session_cookie load + class Bot: CONFIG_PATH = os.path.join(os.path.abspath('./config'), "config.json") TASK_PATH = os.path.join(os.path.abspath('./config'), "tasks.json") @@ -240,6 +242,7 @@ def only_create(self) -> None: def only_stream_worker(self) -> None: cookie_files = YandexUtils.load_cookie_files() random.shuffle(cookie_files) # Her thread için farklı bir sıralama + print(cookie_files) while not self.stop_event.is_set(): task = None diff --git a/source/templates/streaming_stats.html b/source/templates/streaming_stats.html index fc80abd..8356c72 100644 --- a/source/templates/streaming_stats.html +++ b/source/templates/streaming_stats.html @@ -1,4 +1,3 @@ - {% extends "base.html" %} {% block title %}Streaming Stats{% endblock %} @@ -13,17 +12,14 @@

Streaming Statistics

-
- +
-
- @@ -40,135 +35,190 @@

Detailed Listener Accounts

.stat-streams { color: #5c9cef; } .stat-listeners { color: #5ef086; } .stat-likes { color: #ef5c5c; } - .no-scroll { overflow: hidden; } /* Class to prevent background scrolling */ + .no-scroll { overflow: hidden; } + + .custom-scrollbar::-webkit-scrollbar { + width: 6px; + height: 6px; + } + .custom-scrollbar::-webkit-scrollbar-track { + background: #2d3748; + border-radius: 3px; + } + .custom-scrollbar::-webkit-scrollbar-thumb { + background: #4a5568; + border-radius: 3px; + } -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/source/utils/__pycache__/captcha_api.cpython-313.pyc b/source/utils/__pycache__/captcha_api.cpython-313.pyc new file mode 100644 index 0000000..681e0c2 Binary files /dev/null and b/source/utils/__pycache__/captcha_api.cpython-313.pyc differ diff --git a/source/utils/__pycache__/sms_api.cpython-312.pyc b/source/utils/__pycache__/sms_api.cpython-312.pyc index b3fa88d..bfe800a 100644 Binary files a/source/utils/__pycache__/sms_api.cpython-312.pyc and b/source/utils/__pycache__/sms_api.cpython-312.pyc differ diff --git a/source/utils/__pycache__/sms_api.cpython-313.pyc b/source/utils/__pycache__/sms_api.cpython-313.pyc index 085ef17..dcdef22 100644 Binary files a/source/utils/__pycache__/sms_api.cpython-313.pyc and b/source/utils/__pycache__/sms_api.cpython-313.pyc differ diff --git a/source/utils/sms_api.py b/source/utils/sms_api.py index 52cd18d..daff6ce 100644 --- a/source/utils/sms_api.py +++ b/source/utils/sms_api.py @@ -45,7 +45,7 @@ def get_balance(self) -> float: return float(response.split(':')[1]) except (IndexError, ValueError) as e: self.logger.error(f"Failed to parse balance: {str(e)}") - raise SMSHubError("Failed to retrieve balance") + raise SMSHubError(f"Failed to retrieve balance {response}") def get_number(self) -> str: """