diff --git a/1_download_untouched.py b/1_download_untouched.py index bae8487..978d290 100644 --- a/1_download_untouched.py +++ b/1_download_untouched.py @@ -28,8 +28,9 @@ def modify_file_with_my_fixes(destination): file.write(content) if __name__ == "__main__": - url = "https://update.greasyfork.org/scripts/431691/Bypass%20All%20Shortlinks.user.js" + url1 = "https://update.greasyfork.org/scripts/431691/Bypass%20All%20Shortlinks.user.js" + url2 = "https://openuserjs.org/install/Bloggerpemula/Bypass_All_Shortlinks_Manual_Captcha.user.js" destination = "untouched_Bypass_All_Shortlinks.user.js" - download_file(url, destination) + download_file(url2, destination) modify_file_with_my_fixes(destination) diff --git a/3_patch.py b/3_patch.py index 8e54a96..2f40b75 100644 --- a/3_patch.py +++ b/3_patch.py @@ -59,6 +59,10 @@ def modify_script_extra(file_path): content = content.replace("https://update.greasyfork.org/scripts/431691/Bypass%20All%20Shortlinks.meta.js", "https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.meta.js") + + content = content.replace("https://openuserjs.org/meta/Bloggerpemula/Bypass_All_Shortlinks_Manual_Captcha.meta.js", + "https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.meta.js") + #Remove tracking