From 246d8d1fd293911e974dae0804a89155382cd39e Mon Sep 17 00:00:00 2001 From: ImanMontajabi Date: Sat, 18 May 2024 18:18:55 +0330 Subject: [PATCH] Run changed soundcloud config --- RAPGOAT/SoundcloudInit.py | 46 +++++++++++++++++++++++++++++++------ RAPGOAT/soundcloud_stats.py | 4 ++-- 2 files changed, 41 insertions(+), 9 deletions(-) diff --git a/RAPGOAT/SoundcloudInit.py b/RAPGOAT/SoundcloudInit.py index 0f83854..8d20cf3 100644 --- a/RAPGOAT/SoundcloudInit.py +++ b/RAPGOAT/SoundcloudInit.py @@ -21,6 +21,45 @@ } artist_page: dict[str, str] = { + 'Sajad Shahi': 'https://soundcloud.com/sajadshahi', + 'Hoodadk4': 'https://soundcloud.com/hoodadk4', + 'Pouriya Adroit': 'https://soundcloud.com/poriyaadroit', + 'Matin Fattahi': 'https://soundcloud.com/matinfattahi', + 'Ali Geramy': 'https://soundcloud.com/aligeramy', + 'Tiem': 'https://soundcloud.com/justiem', + 'justina': 'https://soundcloud.com/justinaam', + 'Erfan': 'https://soundcloud.com/erfanpaydar', + '021kid': 'https://soundcloud.com/021kid', + 'ShahinNajafi': 'https://soundcloud.com/shahinnajafimusic', + 'Dayan_rz': 'https://soundcloud.com/dayanmusic', + 'Shayea': 'https://soundcloud.com/shayea_rap', + 'YAS': 'https://soundcloud.com/yastunes', + 'Merzhak': 'https://soundcloud.com/mer-zhak', + 'sajadii': 'https://soundcloud.com/sajadiiofficial', + 'Jarshaa': 'https://soundcloud.com/jarshaa', + 'Sijal': 'https://soundcloud.com/sijalofficial', + 'TM BAX': 'https://soundcloud.com/tmbax', + 'Tohi': 'https://soundcloud.com/tohi', + 'EpiCure': 'https://soundcloud.com/epicurex', + 'Masin': 'https://soundcloud.com/masinrap', + 'Sibab': 'https://soundcloud.com/sinabofficial', + 'Sina Mafee': 'https://soundcloud.com/sinamafee', + 'Arash Saretan': 'https://soundcloud.com/arashsaretan', + 'BONG MUSIC': 'https://soundcloud.com/user-324173625', + "Mez'Rab": 'https://soundcloud.com/mezrab', + 'Behzad Leito': 'https://soundcloud.com/bezilei', + 'Toomaj': 'https://soundcloud.com/toomajsalehi', + 'Amin Tijay': 'https://soundcloud.com/amintijayy', + 'Armin Robber': 'https://soundcloud.com/arminrobber', + 'Majhool': 'https://soundcloud.com/officialmajhool', + 'ArwinAf': 'https://soundcloud.com/arwinaff', +} + +page_urls: list[str] = list(artist_page.values()) +shuffle(page_urls) + + +''' 'Ali Owj': 'https://soundcloud.com/owjali', 'Chrvsi': 'https://soundcloud.com/chvrsi', 'Young Sudden': 'https://soundcloud.com/youngsudden', @@ -38,13 +77,6 @@ 'Peeleh': 'https://soundcloud.com/peeleh', 'Peymandegar': 'https://soundcloud.com/peymandegar', 'Meraj Tehrani': 'https://soundcloud.com/merajtehrani', -} - -page_urls: list[str] = list(artist_page.values()) -shuffle(page_urls) - - -''' 'PAPA A$LI': 'https://soundcloud.com/arshiaparvane', 'Mahdyar': 'https://soundcloud.com/mahdyar', 'Dorcci': 'https://soundcloud.com/dorcci', diff --git a/RAPGOAT/soundcloud_stats.py b/RAPGOAT/soundcloud_stats.py index 1bde8d8..a975601 100644 --- a/RAPGOAT/soundcloud_stats.py +++ b/RAPGOAT/soundcloud_stats.py @@ -300,9 +300,9 @@ def main(): :param: :return: """ - c_size: int = 5 - max_workers: int = 8 + max_workers: int = 10 + c_size: int = len(page_urls) // 10 if len(page_urls) < max_workers: max_workers = len(page_urls)