import re def extract_regex_from_js(js_code): pattern1 = r'(?= 5] # remove domains with blocked words (to avoid people worrying) blocked_words_for_includes = [ "google", #drive/docs autoDL, bypass redirects, captchas "youtube", #redirecting shorts "twitter.com", #bypass redirects "facebook.com", #bypass redirects "tiktok.com", #bypass redirects "vk.com", #bypass redirects "linkvertise" #use greasyfork.org/scripts/427869 instead ] regex_strings = [s for s in regex_strings if not any(word in s for word in blocked_words_for_includes)] generate_include_lines(regex_strings) except FileNotFoundError: print(f"Error: File '{file_path}' not found.") except Exception as e: print(f"An error occurred: {e}") if __name__ == "__main__": main()