SYMBOL INDEX (803 symbols across 72 files) FILE: OnlySnarf/__main__.py function main (line 4) | def main(args=None): FILE: OnlySnarf/classes/discount.py class Discount (line 7) | class Discount: method __init__ (line 11) | def __init__(self, username, amount=None, months=None): method apply (line 19) | def apply(self): method get (line 33) | def get(self): method get_amount (line 50) | def get_amount(self): method get_months (line 74) | def get_months(self): method get_username (line 99) | def get_username(self): method grandfatherer (line 117) | def grandfatherer(self, users=[]): FILE: OnlySnarf/classes/element.py class Element (line 17) | class Element: method __init__ (line 18) | def __init__(self, name=None, classes=[], text=[], id=[]): method getClass (line 24) | def getClass(self): method getClasses (line 29) | def getClasses(self): method getText (line 32) | def getText(self): method getTexts (line 37) | def getTexts(self): method getId (line 40) | def getId(self): method getIds (line 44) | def getIds(self): method get_element_by_name (line 48) | def get_element_by_name(name): FILE: OnlySnarf/classes/file.py class File (line 10) | class File(): method __init__ (line 27) | def __init__(self): method check_size (line 44) | def check_size(self): method download (line 75) | def download(self): method get_ext (line 84) | def get_ext(self): method get_path (line 91) | def get_path(self): method get_title (line 107) | def get_title(self): method get_tmp (line 129) | def get_tmp(): method get_type (line 137) | def get_type(self): method prepare (line 156) | def prepare(self): method get_files_by_folder (line 176) | def get_files_by_folder(path): method get_random_file (line 198) | def get_random_file(self): method get_images_of_folder (line 204) | def get_images_of_folder(folder): method get_videos_of_folder (line 236) | def get_videos_of_folder(folder): method get_folders_of_folder (line 271) | def get_folders_of_folder(folderPath): method remove_local (line 304) | def remove_local(): class Folder (line 343) | class Folder(File): method __init__ (line 344) | def __init__(self): method check_size (line 348) | def check_size(self): method get_files (line 376) | def get_files(self): method get_title (line 403) | def get_title(self): method prepare (line 423) | def prepare(): class Image (line 445) | class Image(File): method __init__ (line 446) | def __init__(self): method prepare (line 449) | def prepare(self): class Video (line 467) | class Video(File): method __init__ (line 468) | def __init__(self): method trim (line 474) | def trim(self): method split (line 481) | def split(self): method watermark (line 489) | def watermark(self): method get_frames (line 497) | def get_frames(self): method prepare (line 503) | def prepare(self): method reduce (line 520) | def reduce(self): FILE: OnlySnarf/classes/message.py class Message (line 13) | class Message(): method __init__ (line 16) | def __init__(self, users=[]): method init (line 33) | def init(self): method format_keywords (line 45) | def format_keywords(keywords): method format_performers (line 64) | def format_performers(performers): method format_text (line 84) | def format_text(self): method is_tip (line 99) | def is_tip(text): method get_files (line 127) | def get_files(self): method get_message (line 179) | def get_message(self): method get_performers (line 199) | def get_performers(self): method get_price (line 214) | def get_price(self): method get_keywords (line 244) | def get_keywords(self): method get_text (line 259) | def get_text(self, again=True): method get_text_from_filename (line 289) | def get_text_from_filename(self): method send (line 312) | def send(self, username, user_id=None): class Post (line 327) | class Post(Message): method __init__ (line 330) | def __init__(self): method init (line 347) | def init(self): method get_expiration (line 357) | def get_expiration(self, again=True): method get_poll (line 383) | def get_poll(self, again=True): method get_post (line 405) | def get_post(self): method get_schedule (line 428) | def get_schedule(self): method send (line 443) | def send(self): FILE: OnlySnarf/classes/poll.py class Poll (line 9) | class Poll: method __init__ (line 12) | def __init__(self): method get (line 22) | def get(self): method get_duration (line 38) | def get_duration(self): method get_questions (line 54) | def get_questions(self): method validate (line 69) | def validate(self): FILE: OnlySnarf/classes/profile.py class Profile (line 10) | class Profile: method __init__ (line 16) | def __init__(self): method ask_action (line 22) | def ask_action(): method ask_backup (line 35) | def ask_backup(): method backup_menu (line 46) | def backup_menu(): method backup_content (line 53) | def backup_content(): method backup_messages (line 63) | def backup_messages(): method advertise (line 74) | def advertise(): method advertise_menu (line 77) | def advertise_menu(): method check (line 88) | def check(): method setup (line 132) | def setup(): method posts_menu (line 166) | def posts_menu(): method menu (line 180) | def menu(): method get_profile (line 191) | def get_profile(): method sync_from_profile (line 199) | def sync_from_profile(): method sync_to_profile (line 212) | def sync_to_profile(profile=None): method sync_from_tab (line 222) | def sync_from_tab(self, tab): method sync_to_tab (line 226) | def sync_to_tab(self, tab): method get_country_list (line 231) | def get_country_list(): method get_variables_for_page (line 235) | def get_variables_for_page(page): method fill_data (line 244) | def fill_data(): method read_local (line 300) | def read_local(): method write_local (line 316) | def write_local(profile=None): function get_settings_variables (line 332) | def get_settings_variables(): FILE: OnlySnarf/classes/promotion.py class Promotion (line 11) | class Promotion: method __init__ (line 14) | def __init__(self): method apply_to_user (line 33) | def apply_to_user(): method create_campaign (line 66) | def create_campaign(): method create_trial_link (line 103) | def create_trial_link(): method get (line 141) | def get(self): method get_amount (line 153) | def get_amount(self): method get_expiration (line 175) | def get_expiration(self): method get_limit (line 198) | def get_limit(self): method get_message (line 221) | def get_message(self): method get_duration (line 244) | def get_duration(self): method get_user (line 267) | def get_user(self): method grandfathered (line 286) | def grandfathered(): FILE: OnlySnarf/classes/schedule.py class Schedule (line 6) | class Schedule: method __init__ (line 8) | def __init__(self): method init (line 22) | def init(self): method get (line 47) | def get(self): method get_date (line 69) | def get_date(self): method get_time (line 90) | def get_time(self): method validate (line 131) | def validate(self): FILE: OnlySnarf/classes/user.py class User (line 14) | class User: method __init__ (line 17) | def __init__(self, data): method toJSON (line 39) | def toJSON(self): method equals (line 56) | def equals(self, user): method get_id (line 69) | def get_id(self): method get_username (line 83) | def get_username(self): method message (line 97) | def message(self, message): method messages_read (line 120) | def messages_read(self): method message_send (line 134) | def message_send(self, message): method update (line 177) | def update(self, user): method get_active_users (line 189) | def get_active_users(): method get_all_users (line 209) | def get_all_users(): method get_favorite_users (line 236) | def get_favorite_users(): method get_following (line 256) | def get_following(): method get_never_messaged_users (line 281) | def get_never_messaged_users(): method get_new_users (line 301) | def get_new_users(): method get_random_user (line 325) | def get_random_user(): method get_all_users_usernames (line 358) | def get_all_users_usernames(): method get_already_randomized_users (line 367) | def get_already_randomized_users(): method add_to_randomized_users (line 381) | def add_to_randomized_users(newUser, users=[]): method get_recent_messagers (line 396) | def get_recent_messagers(): method get_recent_users (line 414) | def get_recent_users(): method get_user_by_id (line 435) | def get_user_by_id(userid): method get_user_by_username (line 456) | def get_user_by_username(username): method get_users_by_list (line 477) | def get_users_by_list(number=None, name=None, ): method message_user (line 495) | def message_user(message, username, user_id=None): method read_following_local (line 512) | def read_following_local(): method read_users_local (line 534) | def read_users_local(): method read_users_messages (line 556) | def read_users_messages(users=[]): method skipUserCheck (line 574) | def skipUserCheck(user): method write_users_local (line 590) | def write_users_local(users=None): method write_following_local (line 621) | def write_following_local(users=None): FILE: OnlySnarf/lib/config.py class Config (line 17) | class Config: method __init__ (line 19) | def __init__(self): method add_user (line 22) | def add_user(): method check_config (line 35) | def check_config(user): method display_user (line 42) | def display_user(): method list_users (line 49) | def list_users(): method list_user_config (line 56) | def list_user_config(user): method list_user_menu (line 112) | def list_user_menu(): method get_users (line 124) | def get_users(): method ask_username (line 131) | def ask_username(): method update_menu (line 145) | def update_menu(): method user_header (line 151) | def user_header(user="default"): method remove_menu (line 168) | def remove_menu(): method remove_user (line 177) | def remove_user(user="default"): method menu (line 184) | def menu(): method main_menu (line 194) | def main_menu(): method main (line 205) | def main(): method prompt_google (line 212) | def prompt_google(user): method prompt_onlyfans (line 224) | def prompt_onlyfans(user): method prompt_twitter (line 236) | def prompt_twitter(user): method reset_config (line 248) | def reset_config(): method reset_user_config (line 255) | def reset_user_config(user="default"): method update_user_config (line 264) | def update_user_config(user="default"): method update_onlyfans_user (line 294) | def update_onlyfans_user(data=None, user="default"): method update_google_user (line 306) | def update_google_user(data=None, user="default"): method update_twitter_user (line 318) | def update_twitter_user(data=None, user="default"): FILE: OnlySnarf/lib/driver.py class Driver (line 67) | class Driver: method __init__ (line 87) | def __init__(self): method init (line 105) | def init(self): method auth (line 123) | def auth(self): method cookies_load (line 149) | def cookies_load(self): method cookies_save (line 172) | def cookies_save(self): method discount_user (line 193) | def discount_user(discount, reattempt=False): method download_content (line 390) | def download_content(self): method download_images (line 416) | def download_images(self, destination=None): method download_messages (line 504) | def download_messages(self, user="all", destination=None): method download_videos (line 547) | def download_videos(self, destination=None): method drag_and_drop_file (line 623) | def drag_and_drop_file(drop_target, path): method enter_text (line 685) | def enter_text(self, text): method error_checker (line 734) | def error_checker(e): method error_window_upload (line 750) | def error_window_upload(self): method expires (line 774) | def expires(self, expiration): method find_element_by_name (line 839) | def find_element_by_name(self, name): method find_elements_by_name (line 877) | def find_elements_by_name(self, name): method find_element_to_click (line 919) | def find_element_to_click(self, name, useId=False, offset=0): method get_driver (line 981) | def get_driver(): method get_page_load (line 998) | def get_page_load(self): method handle_alert (line 1005) | def handle_alert(self): method go_to_home (line 1018) | def go_to_home(self, force=False): method go_to_page (line 1054) | def go_to_page(self, page): method go_to_profile (line 1080) | def go_to_profile(self): method go_to_settings (line 1102) | def go_to_settings(self, settingsTab): method search_for_tab (line 1127) | def search_for_tab(self, page): method open_tab (line 1172) | def open_tab(self, url): method login (line 1218) | def login(self): method message (line 1495) | def message(username, user_id=None): method message_clear (line 1546) | def message_clear(self): method message_confirm (line 1597) | def message_confirm(self): method message_price (line 1629) | def message_price(self, price): method message_text (line 1671) | def message_text(self, text): method message_user_by_id (line 1700) | def message_user_by_id(self, user_id=None): method message_user (line 1729) | def message_user(self, username, user_id=None): method messages_scan (line 1776) | def messages_scan(num=0): method move_to_then_click_element (line 1814) | def move_to_then_click_element(self, element): method open_more_options (line 1863) | def open_more_options(self): method poll (line 1906) | def poll(self, poll): method post (line 2001) | def post(message): method promotional_campaign (line 2101) | def promotional_campaign(self, promotion=None): method promotional_trial_link (line 2226) | def promotional_trial_link(self, promotion=None): method promotion_user_directly (line 2353) | def promotion_user_directly(self, promotion=None): method read_user_messages (line 2445) | def read_user_messages(username, user_id=None): method refresh (line 2550) | def refresh(self): method reset (line 2560) | def reset(self): method schedule_open (line 2587) | def schedule_open(self): method schedule_date (line 2594) | def schedule_date(self, month, year): method schedule_day (line 2611) | def schedule_day(self, day): method schedule_save_date (line 2622) | def schedule_save_date(self): method schedule_hour (line 2628) | def schedule_hour(self, hour): method schedule_minutes (line 2641) | def schedule_minutes(self, minutes): method schedule_suffix (line 2653) | def schedule_suffix(self, suffix): method schedule_cancel (line 2665) | def schedule_cancel(self): method schedule_save (line 2672) | def schedule_save(self): method schedule (line 2680) | def schedule(self, schedule): method sync_from_settings_page (line 2772) | def sync_from_settings_page(self, profile=None, page=None): method sync_to_settings_page (line 2843) | def sync_to_settings_page(self, profile=None, page=None): method settings_save (line 2931) | def settings_save(self, page=None): method spawn_browser (line 2964) | def spawn_browser(self, browserType): method read_session_data (line 3260) | def read_session_data(self): method write_session_data (line 3273) | def write_session_data(self): method upload_files (line 3295) | def upload_files(self, files): method get_username (line 3396) | def get_username(): method following_get (line 3427) | def following_get(): method users_get (line 3472) | def users_get(page=ONLYFANS_USERS_ACTIVE_URL): method user_get_id (line 3519) | def user_get_id(username): method search_for_list (line 3556) | def search_for_list(self, name=None, number=None): method get_list (line 3588) | def get_list(name=None, number=None): method get_lists (line 3629) | def get_lists(self): method get_list_members (line 3693) | def get_list_members(self, list): method add_user_to_list (line 3717) | def add_user_to_list(self, username=None, listNumber=None): method add_users_to_list (line 3800) | def add_users_to_list(self, users=[], number=None, name=None): method exit (line 3894) | def exit(self): method exit_all (line 3921) | def exit_all(): function parse_users (line 3929) | def parse_users(user_ids, starteds, users, usernames): FILE: OnlySnarf/lib/ffmpeg.py function combine (line 12) | def combine(folderPath): function gifify (line 32) | def gifify(path): function frames (line 43) | def frames(path): function reduce (line 92) | def reduce(path): function split (line 139) | def split(path, segment): function thumbnail_fix (line 178) | def thumbnail_fix(path): function trim (line 202) | def trim(path): function watermark (line 234) | def watermark(): function metadata (line 237) | def metadata(): FILE: OnlySnarf/lib/menu.py class Menu (line 22) | class Menu: method __init__ (line 31) | def __init__(self): method ask_action (line 34) | def ask_action(): method action_menu (line 56) | def action_menu(): method header (line 74) | def header(): method settings_header (line 87) | def settings_header(): method user_header (line 96) | def user_header(): method menu (line 119) | def menu(): method main_menu (line 148) | def main_menu(): method main (line 161) | def main(): function exit_handler (line 178) | def exit_handler(): function main (line 191) | def main(): FILE: OnlySnarf/server/api.py function create_app (line 8) | def create_app(): function main (line 62) | def main(): FILE: OnlySnarf/snarf.py class Snarf (line 18) | class Snarf: method __init__ (line 28) | def __init__(self): method close (line 34) | def close(): method api (line 39) | def api(): method config (line 43) | def config(): method menu (line 47) | def menu(): method discount (line 51) | def discount(): method message (line 70) | def message(): method post (line 89) | def post(): method profile (line 103) | def profile(): method promotion (line 130) | def promotion(): method users (line 157) | def users(): function exit_handler (line 176) | def exit_handler(): function main (line 188) | def main(): FILE: OnlySnarf/util/colorize.py class fg (line 17) | class fg: class bg (line 28) | class bg: class style (line 39) | class style: function colorize (line 49) | def colorize(string, color): FILE: OnlySnarf/util/logger.py class CustomFormatter (line 25) | class CustomFormatter(logging.Formatter): method format (line 46) | def format(self, record): FILE: OnlySnarf/util/optional_args.py function apply_args (line 8) | def apply_args(parser): function apply_subcommand_args (line 128) | def apply_subcommand_args(parser): function apply_shim_args (line 281) | def apply_shim_args(parser): FILE: OnlySnarf/util/settings.py class Settings (line 14) | class Settings: method debug_delay_check (line 25) | def debug_delay_check(): method print (line 34) | def print(text): method print_same_line (line 38) | def print_same_line(text): method maybe_print (line 44) | def maybe_print(text): method dev_print (line 48) | def dev_print(text): method err_print (line 52) | def err_print(error): method warn_print (line 55) | def warn_print(error): method format_date (line 58) | def format_date(date): method format_time (line 64) | def format_time(time): method header (line 70) | def header(): method menu (line 76) | def menu(): method ensure_paths (line 82) | def ensure_paths(): method get_action (line 93) | def get_action(): method get_actions (line 96) | def get_actions(): method get_amount (line 99) | def get_amount(): method get_base_directory (line 102) | def get_base_directory(): method get_browser_type (line 105) | def get_browser_type(): method get_months (line 108) | def get_months(): method get_category (line 111) | def get_category(): method get_categories (line 119) | def get_categories(): method get_cookies_path (line 125) | def get_cookies_path(): method get_price (line 129) | def get_price(): method get_price_minimum (line 134) | def get_price_minimum(): method get_price_maximum (line 137) | def get_price_maximum(): method get_default_greeting (line 140) | def get_default_greeting(): method get_default_refresher (line 143) | def get_default_refresher(): method get_discount_max_amount (line 146) | def get_discount_max_amount(): method get_discount_min_amount (line 149) | def get_discount_min_amount(): method get_discount_max_months (line 152) | def get_discount_max_months(): method get_discount_min_months (line 155) | def get_discount_min_months(): method get_download_max (line 158) | def get_download_max(): method get_duration (line 161) | def get_duration(): method get_promo_duration (line 166) | def get_promo_duration(): method get_duration_allowed (line 171) | def get_duration_allowed(): method get_duration_promo_allowed (line 174) | def get_duration_promo_allowed(): method get_expiration (line 177) | def get_expiration(): method get_promo_expiration (line 182) | def get_promo_expiration(): method get_input (line 185) | def get_input(): method get_input_as_files (line 193) | def get_input_as_files(): method get_logs_path (line 213) | def get_logs_path(process): method get_message_choices (line 224) | def get_message_choices(): method get_root_path (line 227) | def get_root_path(): method get_sort_method (line 230) | def get_sort_method(): method get_phone_number (line 233) | def get_phone_number(): method get_performers (line 240) | def get_performers(): method get_profile_path (line 248) | def get_profile_path(): method get_recent_user_count (line 253) | def get_recent_user_count(): method get_promotion_limit (line 256) | def get_promotion_limit(): method get_promotion_method (line 259) | def get_promotion_method(): method get_password (line 262) | def get_password(username=None): method get_password_google (line 269) | def get_password_google(username=None): method get_password_twitter (line 276) | def get_password_twitter(username=None): method get_download_path (line 283) | def get_download_path(): method get_users_path (line 288) | def get_users_path(): method get_config_path (line 293) | def get_config_path(): method get_local_path (line 298) | def get_local_path(): method get_reconnect_id (line 305) | def get_reconnect_id(): method get_reconnect_url (line 308) | def get_reconnect_url(): method get_remote_host (line 311) | def get_remote_host(): method get_remote_port (line 314) | def get_remote_port(): method get_remote_path (line 317) | def get_remote_path(): method get_remote_username (line 320) | def get_remote_username(): method get_remote_password (line 323) | def get_remote_password(): method get_profile_method (line 326) | def get_profile_method(): method get_date (line 329) | def get_date(): method get_time (line 346) | def get_time(): method get_schedule (line 362) | def get_schedule(): method get_keywords (line 376) | def get_keywords(): method get_text (line 386) | def get_text(): method get_title (line 389) | def get_title(): method get_skipped_users (line 392) | def get_skipped_users(): method get_questions (line 395) | def get_questions(): method get_upload_max (line 402) | def get_upload_max(): method get_login_method (line 412) | def get_login_method(): method get_upload_max_duration (line 417) | def get_upload_max_duration(): method get_users (line 421) | def get_users(): method get_user (line 442) | def get_user(): method get_user_configs (line 445) | def get_user_configs(): method get_user_config (line 449) | def get_user_config(username="default"): method get_user_config_path (line 467) | def get_user_config_path(username="default"): method get_username (line 471) | def get_username(): method get_username_onlyfans (line 474) | def get_username_onlyfans(username=None): method get_username_google (line 481) | def get_username_google(username=None): method get_username_twitter (line 488) | def get_username_twitter(username=None): method get_remote_browser_host (line 495) | def get_remote_browser_host(): method get_remote_browser_port (line 498) | def get_remote_browser_port(): method get_profile (line 505) | def get_profile(): method select_profile (line 508) | def select_profile(): method get_verbosity (line 514) | def get_verbosity(): method get_version (line 517) | def get_version(): method get_user_num (line 520) | def get_user_num(): method is_confirm (line 525) | def is_confirm(): method is_cookies (line 528) | def is_cookies(): method is_delete (line 531) | def is_delete(): method is_delete_empty (line 534) | def is_delete_empty(): method is_debug (line 537) | def is_debug(process=None): method is_debug_delay (line 545) | def is_debug_delay(): method is_force_upload (line 548) | def is_force_upload(): method is_keep (line 551) | def is_keep(): method is_prefer_local (line 554) | def is_prefer_local(): method is_prefer_local_following (line 557) | def is_prefer_local_following(): method is_save_users (line 560) | def is_save_users(): method is_reduce (line 563) | def is_reduce(): method is_show_window (line 566) | def is_show_window(): method is_tweeting (line 569) | def is_tweeting(): method is_backup (line 572) | def is_backup(): method is_skip_download (line 575) | def is_skip_download(): method is_skip_upload (line 578) | def is_skip_upload(): method set_bycategory (line 585) | def set_bycategory(cat): method set_category (line 588) | def set_category(cat): method set_cookies (line 591) | def set_cookies(value): method set_confirm (line 594) | def set_confirm(value): method set_email (line 597) | def set_email(email): method set_debug (line 600) | def set_debug(newValue): method set_username (line 607) | def set_username(username): method set_username_google (line 610) | def set_username_google(username): method set_username_twitter (line 613) | def set_username_twitter(username): method set_password (line 616) | def set_password(password): method set_password_google (line 619) | def set_password_google(password): method set_password_twitter (line 622) | def set_password_twitter(password): method set_prefer_local (line 625) | def set_prefer_local(buul): method set_prefer_local_following (line 628) | def set_prefer_local_following(buul): function delayForThirty (line 701) | def delayForThirty(): FILE: OnlySnarf/util/validators.py function valid_amount (line 19) | def valid_amount(s): function valid_date (line 29) | def valid_date(s): function valid_duration (line 35) | def valid_duration(s): function valid_promo_duration (line 45) | def valid_promo_duration(s): function valid_promo_expiration (line 53) | def valid_promo_expiration(s): function valid_expiration (line 60) | def valid_expiration(s): function valid_limit (line 69) | def valid_limit(s): function valid_month (line 79) | def valid_month(s): function valid_path (line 89) | def valid_path(s): function valid_url (line 101) | def valid_url(s): function valid_price (line 107) | def valid_price(s): function valid_schedule (line 115) | def valid_schedule(s): function valid_time (line 121) | def valid_time(s): FILE: notes/animal.py class Animal (line 1) | class Animal: method __init__ (line 26) | def __init__(self, name, sound, num_legs=4): method says (line 42) | def says(self, sound=None): FILE: notes/docstrings.py function my_function (line 23) | def my_function(my_arg, my_other_arg): class SimpleClass (line 115) | class SimpleClass: method say_hello (line 118) | def say_hello(self, name: str): class following (line 131) | class methods being documented, it’s now the module and any functions fo... function get_spreadsheet_cols (line 184) | def get_spreadsheet_cols(file_loc, print_cols=False): function main (line 210) | def main(): FILE: notes/notes1.py class HackerNewsSearchTest (line 11) | class HackerNewsSearchTest(unittest.TestCase): method setUp (line 13) | def setUp(self): method test_hackernews_search_for_testdrivenio (line 16) | def test_hackernews_search_for_testdrivenio(self): method test_hackernews_search_for_selenium (line 25) | def test_hackernews_search_for_selenium(self): method test_hackernews_search_for_testdriven (line 34) | def test_hackernews_search_for_testdriven(self): method test_hackernews_search_with_no_results (line 43) | def test_hackernews_search_with_no_results(self): method tearDown (line 52) | def tearDown(self): FILE: notes/notes3.py function get_browser_and_wait (line 10) | def get_browser_and_wait(browser_data): FILE: notes/notes4.py class TestExamples (line 16) | class TestExamples(unittest.TestCase): method setUp (line 18) | def setUp(self): method test_one (line 31) | def test_one(self): method test_two (line 43) | def test_two(self): method tearDown (line 53) | def tearDown(self): FILE: notes/notes5.py function selenium (line 23) | def selenium(selenium): function test_one (line 28) | def test_one(selenium): function test_two (line 39) | def test_two(selenium): FILE: notes/old/bot.py class Bot (line 27) | class Bot(): method __init__ (line 33) | def __init__(self): method parse (line 45) | def parse(user=None): method parse_messages (line 81) | def parse_messages(self): method get_index (line 176) | def get_index(): method prompt (line 185) | def prompt(user=None): method refresh (line 191) | def refresh(self): method refresher (line 195) | def refresher(self): method tipped (line 203) | def tipped(user=None, amount=None): FILE: notes/old/config.py function checkBothCreds (line 14) | def checkBothCreds(): function checkGoogle (line 19) | def checkGoogle(): function checkOnlyFans (line 32) | def checkOnlyFans(): function checkTwitter (line 40) | def checkTwitter(): function createConfig (line 49) | def createConfig(): function googleInstructions (line 75) | def googleInstructions(): function setupConfig (line 79) | def setupConfig(): function receiveGoogle (line 85) | def receiveGoogle(): function receiveOnlyFans (line 91) | def receiveOnlyFans(): function receiveTwitter (line 99) | def receiveTwitter(): function refreshAll (line 106) | def refreshAll(): function removeConfig (line 113) | def removeConfig(): function removeGoogle (line 123) | def removeGoogle(): function updateConfig (line 133) | def updateConfig(): function updateOnlyFans (line 138) | def updateOnlyFans(): function updateGoogle (line 152) | def updateGoogle(): function updateTwitter (line 165) | def updateTwitter(): function main (line 184) | def main(): FILE: notes/old/file-old.py class File (line 28) | class File(): method __init__ (line 33) | def __init__(self): method backup (line 52) | def backup(self): method backup_text (line 67) | def backup_text(title): method backup_files (line 94) | def backup_files(files=[]): method check_size (line 115) | def check_size(self): method delete (line 143) | def delete(self): method delete_text (line 153) | def delete_text(title): method download_text (line 178) | def download_text(title): method get_ext (line 196) | def get_ext(self): method get_path (line 202) | def get_path(self): method get_title (line 218) | def get_title(self): method get_tmp (line 240) | def get_tmp(): method get_type (line 256) | def get_type(self): method prepare (line 275) | def prepare(self): method remove_local (line 295) | def remove_local(): method get_files (line 317) | def get_files(): method get_files_by_folder (line 342) | def get_files_by_folder(path): method get_folder_by_name (line 364) | def get_folder_by_name(category, parent=None): method get_folders_of_folder_by_keywords (line 568) | def get_folders_of_folder_by_keywords(categoryFolder): method get_random_file (line 607) | def get_random_file(): method get_images_of_folder (line 613) | def get_images_of_folder(folder): method get_videos_of_folder (line 649) | def get_videos_of_folder(folder): method get_folders_of_folder (line 685) | def get_folders_of_folder(folderPath): method get_files_by_category (line 722) | def get_files_by_category(cat, performer=None): method select_file (line 820) | def select_file(category, performer=None): method select_files (line 873) | def select_files(): method select_file_upload_method (line 919) | def select_file_upload_method(): method upload (line 971) | def upload(self): class Remote_File (line 1025) | class Remote_File(File): method __init__ (line 1026) | def __init__(self): method backup (line 1029) | def backup(self): method delete (line 1042) | def delete(self): method download (line 1049) | def download(self): class Folder (line 1062) | class Folder(File): method __init__ (line 1063) | def __init__(self): method backup (line 1067) | def backup(self): method check_size (line 1071) | def check_size(self): method download (line 1090) | def download(self): method get_files (line 1124) | def get_files(self): method get_title (line 1140) | def get_title(self): method prepare (line 1150) | def prepare(): class Google_File (line 1160) | class Google_File(File): method __init__ (line 1162) | def __init__(self): method backup (line 1170) | def backup(self): method delete (line 1174) | def delete(self): method download_files (line 1179) | def download_files(files=[]): method download (line 1191) | def download(self): method get_ext (line 1202) | def get_ext(self): method get_id (line 1213) | def get_id(self): method get_file (line 1218) | def get_file(self): method get_files (line 1225) | def get_files(): method get_files_by_category (line 1240) | def get_files_by_category(cat, performer=None): method get_random_file (line 1335) | def get_random_file(): method get_mimetype (line 1344) | def get_mimetype(self): method get_parent (line 1349) | def get_parent(self): method get_path (line 1354) | def get_path(self): method get_title (line 1377) | def get_title(self): method prepare (line 1388) | def prepare(self): method select_file (line 1395) | def select_file(category, performer=None): method select_files (line 1426) | def select_files(): class Google_Folder (line 1453) | class Google_Folder(Google_File): method __init__ (line 1454) | def __init__(self): method backup (line 1458) | def backup(self): method check_size (line 1462) | def check_size(self): method download (line 1468) | def download(self): method get_files (line 1502) | def get_files(self): method prepare (line 1517) | def prepare(): class Image (line 1526) | class Image(File): method __init__ (line 1527) | def __init__(self): method prepare (line 1530) | def prepare(self): class Video (line 1536) | class Video(File): method __init__ (line 1537) | def __init__(self): method trim (line 1543) | def trim(self): method split (line 1548) | def split(self): method watermark (line 1554) | def watermark(self): method get_metadata (line 1558) | def get_metadata(self): method get_frames (line 1562) | def get_frames(self): method prepare (line 1566) | def prepare(self): method reduce (line 1573) | def reduce(self): method repair (line 1585) | def repair(self): FILE: notes/old/google-old.py function authGoogle (line 58) | def authGoogle(): function checkAuth (line 99) | def checkAuth(): function backup_file (line 111) | def backup_file(file): function create_folders (line 153) | def create_folders(): function delete_folder (line 180) | def delete_folder(folder): function cache_add (line 201) | def cache_add(folders): function cache_check (line 208) | def cache_check(folderName): function download_file (line 221) | def download_file(file): function get_files_by_folder_id (line 275) | def get_files_by_folder_id(folderID): function get_file (line 297) | def get_file(id_): function get_file_parent (line 318) | def get_file_parent(id_): function get_folder_by_name (line 341) | def get_folder_by_name(folderName, parent=None): function get_images_of_folder (line 382) | def get_images_of_folder(folder): function get_videos_of_folder (line 406) | def get_videos_of_folder(folder): function get_folders_of_folder_by_keywords (line 431) | def get_folders_of_folder_by_keywords(folder): function get_posted_folder_by_name (line 468) | def get_posted_folder_by_name(folderName, parent=None): function get_folders_of_folder (line 525) | def get_folders_of_folder(folder): function get_folder_root (line 560) | def get_folder_root(): function upload_file (line 613) | def upload_file(file=None): function upload_gallery (line 647) | def upload_gallery(files=[]): FILE: notes/old/remote.py function auth (line 8) | def auth(): function backup_file (line 38) | def backup_file(file): function backup_files (line 60) | def backup_files(files): function upload_file (line 83) | def upload_file(file): function upload_files (line 104) | def upload_files(files): function delete_file (line 117) | def delete_file(file): function download_file (line 131) | def download_file(file): function prepare_dir (line 155) | def prepare_dir(sftp=None): function get_files (line 164) | def get_files(category=None, performer=None): function get_random_file (line 212) | def get_random_file(category=None, performer=None): function select_file (line 219) | def select_file(category, performer=None): function select_files (line 246) | def select_files(): FILE: notes/old/removed-cron.py function delete (line 8) | def delete(comment): function deleteAll (line 14) | def deleteAll(): function disable (line 21) | def disable(comment): function enable (line 28) | def enable(comment): function create (line 35) | def create(comment, args=[], minute=None, hour=None): function list (line 51) | def list(): function find (line 57) | def find(comment): function getAll (line 64) | def getAll(): function discount (line 75) | def discount(user, amount=None, months=None): function message (line 85) | def message(user, text=None, image=None, price=None): function post (line 98) | def post(text): function upload (line 102) | def upload(opt): function uploadInput (line 106) | def uploadInput(type_, path): function checkScenes (line 111) | def checkScenes(): function sendQueuedMessages (line 115) | def sendQueuedMessages(): function test (line 122) | def test(): FILE: notes/old/selectstuff.py function select_user (line 14) | def select_user(): function select_users (line 47) | def select_users(): function select_username (line 60) | def select_username(): function list_menu (line 87) | def list_menu(): FILE: notes/selenium-notes.py function run_browserstack (line 1) | def run_browserstack(self,os_name,os_version,browser,browser_version,rem... function remote (line 31) | def remote(self) -> None: function attach_to_session (line 52) | def attach_to_session(executor_url, session_id): function __init__ (line 74) | def __init__(self, command_executor = None, session_id = None, previous_... FILE: notes/selenium-notes1.py function drag_and_drop_file (line 32) | def drag_and_drop_file(drop_target, path): FILE: notes/testflask.py class TestFoo (line 4) | class TestFoo(flask_unittest.AppTestCase): method create_app (line 6) | def create_app(self): method setUp (line 10) | def setUp(self, app): method tearDown (line 14) | def tearDown(self, app): method test_foo_with_app (line 24) | def test_foo_with_app(self, app): method test_bar_with_app (line 30) | def test_bar_with_app(self, app): method test_baz_with_app (line 37) | def test_baz_with_app(self, app): FILE: notes/testflaskclient.py class TestAPI (line 4) | class TestAPI(flask_unittest.ClientTestCase): method setUp (line 8) | def setUp(self, client): method tearDown (line 12) | def tearDown(self, client): method test_foo_with_client (line 22) | def test_foo_with_client(self, client): method test_bar_with_client (line 28) | def test_bar_with_client(self, client): FILE: notes/unittest.py class TestSum (line 4) | class TestSum(unittest.TestCase): method test_sum (line 6) | def test_sum(self): method test_sum_tuple (line 9) | def test_sum_tuple(self): FILE: notes/unittestskips.py class MyTestCase (line 1) | class MyTestCase(unittest.TestCase): method test_nothing (line 4) | def test_nothing(self): method test_format (line 9) | def test_format(self): method test_windows_support (line 14) | def test_windows_support(self): method test_maybe_skipped (line 18) | def test_maybe_skipped(self): FILE: notes/unittesttestrunners.py function suite (line 1) | def suite(): FILE: tests/api/test_api.py class TestAPI (line 11) | class TestAPI(flask_unittest.ClientTestCase): method setUp (line 18) | def setUp(self, client): method tearDown (line 22) | def tearDown(self, client): method test_message (line 26) | def test_message(self, client): method test_post (line 34) | def test_post(self, client): FILE: tests/selenium/browsers/test_brave.py class TestSeleniumBrave (line 9) | class TestSeleniumBrave(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_brave (line 23) | def test_brave(self): FILE: tests/selenium/browsers/test_chrome.py class TestSeleniumChrome (line 9) | class TestSeleniumChrome(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_chrome (line 23) | def test_chrome(self): FILE: tests/selenium/browsers/test_chromium.py class TestSeleniumChromium (line 9) | class TestSeleniumChromium(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_chromium (line 24) | def test_chromium(self): FILE: tests/selenium/browsers/test_edge.py class TestSeleniumEdge (line 9) | class TestSeleniumEdge(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method xtest_edge (line 24) | def xtest_edge(self): FILE: tests/selenium/browsers/test_firefox.py class TestSeleniumFirefox (line 9) | class TestSeleniumFirefox(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_firefox (line 23) | def test_firefox(self): FILE: tests/selenium/browsers/test_ie.py class TestSeleniumIE (line 9) | class TestSeleniumIE(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method xtest_ie (line 24) | def xtest_ie(self): FILE: tests/selenium/browsers/test_opera.py class TestSeleniumOpera (line 9) | class TestSeleniumOpera(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method xtest_opera (line 24) | def xtest_opera(self): FILE: tests/selenium/reconnect/test_brave.py class TestSeleniumReconnectBrave (line 9) | class TestSeleniumReconnectBrave(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_reconnect_brave (line 24) | def test_reconnect_brave(self): FILE: tests/selenium/reconnect/test_chrome.py class TestSeleniumReconnectChrome (line 9) | class TestSeleniumReconnectChrome(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_reconnect_chrome (line 24) | def test_reconnect_chrome(self): FILE: tests/selenium/reconnect/test_chromium.py class TestSeleniumReconnectChromium (line 9) | class TestSeleniumReconnectChromium(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_reconnect_chromium (line 25) | def test_reconnect_chromium(self): FILE: tests/selenium/reconnect/test_edge.py class TestSeleniumReconnectEdge (line 9) | class TestSeleniumReconnectEdge(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_reconnect_edge (line 25) | def test_reconnect_edge(self): FILE: tests/selenium/reconnect/test_firefox.py class TestSeleniumReconnectFirefox (line 9) | class TestSeleniumReconnectFirefox(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_reconnect_firefox (line 24) | def test_reconnect_firefox(self): FILE: tests/selenium/reconnect/test_ie.py class TestSeleniumReconnectIE (line 9) | class TestSeleniumReconnectIE(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_reconnect_ie (line 25) | def test_reconnect_ie(self): FILE: tests/selenium/reconnect/test_opera.py class TestSeleniumReconnectOpera (line 9) | class TestSeleniumReconnectOpera(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_reconnect_opera (line 25) | def test_reconnect_opera(self): FILE: tests/selenium/test_browsers.py class TestSeleniumBrowsers (line 9) | class TestSeleniumBrowsers(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_auto (line 23) | def test_auto(self): FILE: tests/selenium/test_reconnect.py class TestSeleniumReconnect (line 9) | class TestSeleniumReconnect(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_reconnect (line 24) | def test_reconnect(self): FILE: tests/selenium/test_remote.py class TestSeleniumRemote (line 12) | class TestSeleniumRemote(unittest.TestCase): method setUp (line 14) | def setUp(self): method tearDown (line 20) | def tearDown(self): method test_remote (line 24) | def test_remote(self): method test_remote_chrome (line 30) | def test_remote_chrome(self): method test_remote_firefox (line 36) | def test_remote_firefox(self): FILE: tests/snarf/auth/test_google.py class TestAuth (line 9) | class TestAuth(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 16) | def tearDown(self): method test_login (line 21) | def test_login(self): method test_login_via_cookies (line 27) | def test_login_via_cookies(self): FILE: tests/snarf/auth/test_onlyfans.py class TestAuth (line 9) | class TestAuth(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 16) | def tearDown(self): method test_login (line 20) | def test_login(self): method test_login_via_cookies (line 25) | def test_login_via_cookies(self): FILE: tests/snarf/auth/test_twitter.py class TestAuth (line 9) | class TestAuth(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 16) | def tearDown(self): method test_login (line 20) | def test_login(self): method test_login_via_cookies (line 25) | def test_login_via_cookies(self): FILE: tests/snarf/test_auth.py class TestAuth (line 9) | class TestAuth(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 17) | def tearDown(self): method test_login (line 20) | def test_login(self): method test_login_via_cookies (line 25) | def test_login_via_cookies(self): FILE: tests/snarf/test_discount.py class TestSnarf (line 10) | class TestSnarf(unittest.TestCase): method setUp (line 12) | def setUp(self): method tearDown (line 19) | def tearDown(self): method test_discount (line 25) | def test_discount(self): method test_discount_max (line 29) | def test_discount_max(self): method test_discount_min (line 34) | def test_discount_min(self): FILE: tests/snarf/test_expiration.py class TestSnarf (line 10) | class TestSnarf(unittest.TestCase): method setUp (line 12) | def setUp(self): method tearDown (line 17) | def tearDown(self): method test_poll (line 20) | def test_poll(self): FILE: tests/snarf/test_message.py class TestSnarf (line 10) | class TestSnarf(unittest.TestCase): method setUp (line 12) | def setUp(self): method tearDown (line 19) | def tearDown(self): method test_message (line 24) | def test_message(self): method test_message_files_local (line 27) | def test_message_files_local(self): method test_message_files_remote (line 31) | def test_message_files_remote(self): method test_message_price (line 35) | def test_message_price(self): FILE: tests/snarf/test_poll.py class TestSnarf (line 10) | class TestSnarf(unittest.TestCase): method setUp (line 12) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_poll (line 23) | def test_poll(self): FILE: tests/snarf/test_post.py class TestSnarf (line 10) | class TestSnarf(unittest.TestCase): method setUp (line 12) | def setUp(self): method tearDown (line 20) | def tearDown(self): method test_post (line 27) | def test_post(self): method test_post_files (line 31) | def test_post_files(self): method test_post_price (line 35) | def test_post_price(self): method test_post_text (line 39) | def test_post_text(self): FILE: tests/snarf/test_schedule.py class TestSnarf (line 14) | class TestSnarf(unittest.TestCase): method setUp (line 16) | def setUp(self): method tearDown (line 24) | def tearDown(self): method test_schedule (line 27) | def test_schedule(self): method test_schedule_date (line 31) | def test_schedule_date(self): method test_schedule_time (line 35) | def test_schedule_time(self): method test_schedule_calendar_day (line 46) | def test_schedule_calendar_day(self): method test_schedule_calendar_hour (line 50) | def test_schedule_calendar_hour(self): method test_schedule_calendar_minute (line 54) | def test_schedule_calendar_minute(self): method test_schedule_calendar_suffix (line 57) | def test_schedule_calendar_suffix(self): FILE: tests/snarf/test_users.py class TestUsers (line 11) | class TestUsers(unittest.TestCase): method setUp (line 13) | def setUp(self): method tearDown (line 17) | def tearDown(self): method test_get_users (line 21) | def test_get_users(self): FILE: tests/test_profile.py class TestProfile (line 12) | class TestProfile(unittest.TestCase): method setUp (line 14) | def setUp(self): method tearDown (line 19) | def tearDown(self): method test_profile_backup (line 23) | def test_profile_backup(self): method test_profile_syncfrom (line 28) | def test_profile_syncfrom(self): method test_profile_syncto (line 33) | def test_profile_syncto(self): FILE: tests/test_promotion.py class TestPromotion (line 12) | class TestPromotion(unittest.TestCase): method setUp (line 14) | def setUp(self): method tearDown (line 19) | def tearDown(self): method test_promotion_campaign (line 23) | def test_promotion_campaign(self): method test_promotion_trial (line 28) | def test_promotion_trial(self): method test_promotion_user (line 33) | def test_promotion_user(self): method test_promotion_grandfather (line 38) | def test_promotion_grandfather(self):