This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import random | |
from urllib.parse import parse_qs, parse_qsl, urlparse | |
import requests | |
import re | |
class Bard: | |
def __init__(self, timeout=6, proxies=None, session=None): | |
with open("API_KEYS.txt", "r") as f: | |
lines = f.readlines() |