Skip to content

Commit

Permalink
codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakan Karapınar authored and Hakan Karapınar committed Nov 26, 2024
1 parent 4454a92 commit cdb8db1
Show file tree
Hide file tree
Showing 22 changed files with 321 additions and 128 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"2captcha_apikey": "9d5bfe53117b1fa6c68b8fc400c276ac",
"ClearCaptcha_token": "cd5f0ffb5b6a418482da5a80b76223bc",
"phone_service": "smshub",
"sms_apikey": "163394U2fa1f9ed20daa88fd3054fef7c78d507"
"sms_apikey": "163394U12401a2e380f0b76af34fd2c4cab3a8e"
}
}
Binary file modified data/.DS_Store
Binary file not shown.
32 changes: 25 additions & 7 deletions data/accounts.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
[email protected]|CByKk6vUBxzS|3:1727965433.5.0.1727965433638:KnXF2Q:3289.1.2:1|2032414583.0.2.3:1727965433|3:10296189.459695.sKigbWb1AheFzpts0mYRTnPcOaM
[email protected]|3leNJE9AhmvN|3:1727968859.5.0.1727968859893:aOeHHw:ee85.1.2:1|2032435146.0.2.3:1727968859|3:10296191.205675.EWTaVNvD6z52F_YPSK6pVIl0x0I
[email protected]|SDZvgFl7B3RE|3:1727971521.5.0.1727971521821:4VYgLg:8c5c.1.2:1|2032451670.0.2.3:1727971521|3:10296191.805910.d_navPs519TPgsUhVhqp80iyEuU
[email protected]|bmras47UgwiE|3:1728998446.5.0.1728998446258:mR4OXw:eeb4.1.2:1|2037058842.0.2.3:1728998446|3:10296767.177464.urP-rc4yAaedh1x76DOXqVInKXU
[email protected]|yKtApKvlyzRN|3:1729000872.5.0.1729000872319:GhehLg:1964.1.2:1|2037074103.0.2.3:1729000872|3:10296767.450779.ndYzlr4yOM6ja9GIkkOtGvkbc30
[email protected]|hN7SSRuX95yR|3:1729001236.5.0.1729001236472:zBShLg:3642.1.2:1|2037076490.0.2.3:1729001236|3:10296767.128036.86nouAkaL1efBtrF4aiuAipOTRs
[email protected]|GB1kIaqsAlOV|3:1729001370.5.0.1729001370891:zBShLg:12bf.1.2:1|2037077379.0.2.3:1729001370|3:10296767.245912.N6ausCpkep7_fo28lTHsgCfNCFQ
[email protected]|WIUEzISKFWSN|3:1727804395.5.0.1727804395467:1VCwsg:63d0.1.2:1|2031733475.0.2.3:1727804395|3:10296099.455640.A449lBbQsectimVH0mwzGQ9855A;
[email protected]|7tqsAOJt0cMf|3:1727804403.5.0.1727804403108:irLBWw:8378.1.2:1|2031733547.0.2.3:1727804403|3:10296099.804168.t95sqwipc9XDiBp2om1hywbchw0;
[email protected]|f43eWrRrq7cl|3:1727804408.5.0.1727804408088:H1OtHw:6cf1.1.2:1|2031733592.0.2.3:1727804408|3:10296099.579702.jf7ubr-ogZgWsnTA2RfDaV091H0;
[email protected]|PGTuW3XoUVnK|3:1727804418.5.0.1727804418676:VFSwsg:ed40.1.2:1|2031733689.0.2.3:1727804418|3:10296099.426402.N0TBYpixeAN4etzjz0QyJYlDuVw;
[email protected]|k3742XlgHEyU|3:1727804436.5.0.1727804436028:BJxxWQ:bfd5.1.2:1|2031733819.0.2.3:1727804436|3:10296099.803442.gyJcASJAAp8FoBwdt0Q8xM6SPTQ;
[email protected]|q4kA20YxUjMZ|3:1727804488.5.0.1727804488227:flewsg:ca78.1.2:1|2031734149.0.2.3:1727804488|3:10296099.293190.osd1u17C8U8oXkDBAPVWqeJeqSE;
[email protected]|MFJH8N59FeY6|3:1727804504.5.0.1727804504644:IZJxWQ:4506.1.2:1|2031734264.0.2.3:1727804504|3:10296099.676336.WAZvuNzklqtzFOt1C2T-yyeVZ_Q;
[email protected]|fMZwkG2PK3ZT|3:1727804531.5.0.1727804531108:UbHBWw:b0fd.1.2:1|2031734465.0.2.3:1727804531|3:10296099.962200.-0aXs5WbX5FFPs4Bx59yMWecNVA;
[email protected]|Po4RaEOQCgbx|3:1727804603.5.0.1727804603735:YaoZXg:1da6.1.2:1|2031734896.0.2.3:1727804603|3:10296099.365153.dh2t4PDks26vH4F4XazmPR0cO7A;
[email protected]|AYCunnuIRp0I|3:1727804614.5.0.1727804614464:LLHBWw:8c5c.1.2:1|2031734954.0.2.3:1727804614|3:10296099.507823.1cL3LfoANdvbgHQHPLM1rw-HoU0;
[email protected]|UNBqp12khNSF|3:1727804633.5.0.1727804633117:iJhxWQ:2ad0.1.2:1|2031735070.0.2.3:1727804633|3:10296099.993967.mOTozT8q6Rh-y8CkSg5i39LDT-k;
[email protected]|o6S4kgHEWT8K|3:1727804649.5.0.1727804649511:8a8ZXg:b40b.1.2:1|2031735186.0.2.3:1727804649|3:10296099.697675.59Xyvpva-cp3bEth1ANwQJdA97s;
[email protected]|dVbiNlEXwQok|3:1727804665.5.0.1727804665904:QVGtHw:d224.1.2:1|2031735281.0.2.3:1727804665|3:10296099.419205.85DMYryEfYbcbLgaDb6kppEd1uE;
[email protected]|vmnn0g75EjCS|3:1727804701.5.0.1727804701951:opFxWQ:3642.1.2:1|2031735496.0.2.3:1727804701|3:10296099.475935.cdvFHXP86dtZInx7fhWScDoHSdA;
[email protected]|aKfpaINwmFwV|3:1727804756.5.0.1727804756891:JrLBWw:25f1.1.2:1|2031735814.0.2.3:1727804756|3:10296099.294789.0dB6JaG8EWJU-5o4Blhf986wVbI;
[email protected]|DSQHY5NQBBt2|3:1727804765.5.0.1727804765411:npZxWQ:3289.1.2:1|2031735862.0.2.3:1727804765|3:10296099.677147.hEP3QnWoJFdA58qHU2Gd8szA_P0;
[email protected]|4Yt462ozNEeE|3:1727804816.5.0.1727804816934:ZpJxWQ:195c.1.2:1|2031736152.0.2.3:1727804816|3:10296099.806324.euxQ3mDKIwFQxwGc6h-QoiTk034;
[email protected]|xNdl8Zm0Sj5a|3:1727804831.5.0.1727804831838:OLPBWw:145a.1.2:1|2031736229.0.2.3:1727804831|3:10296099.893204.piaipBbugPLujTANIgS_p05mcO0;
[email protected]|XzfEvMjBggMD|3:1727804840.5.0.1727804840994:WZJxWQ:c55c.1.2:1|2031736293.0.2.3:1727804840|3:10296099.581025.5vHSPRe_VSUFS7_KiSpadB1XWuM;
[email protected]|dbaOnNOsTuMO|3:1727804851.5.0.1727804851430:qrDBWw:ea73.1.2:1|2031736354.0.2.3:1727804851|3:10296099.802100.AztUBM4orO7ih10egYS40H5XEME;
[email protected]|8IEyaJdEjkME|3:1727804859.5.0.1727804859334:j1GtHw:3da8.1.2:1|2031736407.0.2.3:1727804859|3:10296099.164222.DmkpEhcslLG-ji9wUf3QCnuol68;
[email protected]|vASAfuEyxjwZ|3:1727804893.5.0.1727804893920:ZrPBWw:f22a.1.2:1|2031736590.0.2.3:1727804893|3:10296099.688570.aduA5oYZmUA1lNZQVfJdJqa3A1k;
[email protected]|oD2vnAaICsic|3:1727804912.5.0.1727804912982:a1Gwsg:6712.1.2:1|2031736697.0.2.3:1727804912|3:10296099.184650.KAQZu6thG3hmldU0Qo-6Il9lvJg;
[email protected]|8uEXK5vdq94A|3:1727804939.5.0.1727804939453:S-zcUw:7057.1.2:1|2031736832.0.2.3:1727804939|3:10296099.721046.IAnLHn66LAjvqKKGZgkoi8VYAXs;
[email protected]|uPdR5bMkCDys|3:1727804954.5.0.1727804954397:6rDBWw:a376.1.2:1|2031736912.0.2.3:1727804954|3:10296099.558097.snVjuhklSirnPwDZt95OLsCs7zM;
79 changes: 79 additions & 0 deletions data/stream/stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "[email protected]",
"listen_count": 1,
"last_listen": "2024-10-27 01:25:37",
"first_listen": "2024-10-27 01:25:37"
},
{
"email": "[email protected]",
"listen_count": 1,
"last_listen": "2024-10-27 01:25:49",
"first_listen": "2024-10-27 01:25:49"
},
{
"email": "[email protected]",
"listen_count": 1,
"last_listen": "2024-10-27 01:25:59",
"first_listen": "2024-10-27 01:25:59"
},
{
"email": "[email protected]",
"listen_count": 1,
"last_listen": "2024-10-27 01:26:10",
"first_listen": "2024-10-27 01:26:10"
},
{
"email": "[email protected]",
"listen_count": 1,
"last_listen": "2024-10-27 01:26:22",
"first_listen": "2024-10-27 01:26:22"
},
{
"email": "[email protected]",
"listen_count": 1,
"last_listen": "2024-10-27 01:26:33",
"first_listen": "2024-10-27 01:26:33"
},
{
"email": "[email protected]",
"listen_count": 1,
"last_listen": "2024-10-27 01:26:45",
"first_listen": "2024-10-27 01:26:45"
},
{
"email": "[email protected]",
"listen_count": 1,
"last_listen": "2024-10-27 01:27:18",
"first_listen": "2024-10-27 01:27:18"
},
{
"email": "[email protected]",
"listen_count": 1,
"last_listen": "2024-10-27 01:27:29",
"first_listen": "2024-10-27 01:27:29"
},
{
"email": "[email protected]",
"listen_count": 1,
"last_listen": "2024-10-27 01:27:42",
"first_listen": "2024-10-27 01:27:42"
},
{
"email": "[email protected]",
"listen_count": 1,
"last_listen": "2024-10-27 01:27:51",
"first_listen": "2024-10-27 01:27:51"
},
{
"email": "[email protected]",
"listen_count": 1,
"last_listen": "2024-10-27 01:28:02",
"first_listen": "2024-10-27 01:28:02"
}
]
}
}
}
Binary file added source/api/__pycache__/__init__.cpython-313.pyc
Binary file not shown.
Binary file added source/api/__pycache__/bank.cpython-313.pyc
Binary file not shown.
Binary file modified source/api/__pycache__/creator.cpython-312.pyc
Binary file not shown.
Binary file added source/api/__pycache__/creator.cpython-313.pyc
Binary file not shown.
Binary file not shown.
Binary file added source/api/__pycache__/session.cpython-313.pyc
Binary file not shown.
Binary file added source/api/__pycache__/streamer.cpython-313.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions source/api/creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
Binary file modified source/core/__pycache__/app.cpython-312.pyc
Binary file not shown.
Binary file modified source/core/__pycache__/app.cpython-313.pyc
Binary file not shown.
Binary file modified source/core/__pycache__/launcher.cpython-313.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions source/core/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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
Expand Down
Loading

0 comments on commit cdb8db1

Please sign in to comment.