SYMBOL INDEX (311 symbols across 34 files) FILE: maigret/activation.py class ParsingActivator (line 8) | class ParsingActivator: method twitter (line 10) | def twitter(site, logger, cookies={}): method vimeo (line 22) | def vimeo(site, logger, cookies={}): method spotify (line 34) | def spotify(site, logger, cookies={}): method weibo (line 45) | def weibo(site, logger): function import_aiohttp_cookies (line 80) | def import_aiohttp_cookies(cookiestxt_filename): FILE: maigret/checking.py class CheckerBase (line 51) | class CheckerBase: class SimpleAiohttpChecker (line 55) | class SimpleAiohttpChecker(CheckerBase): method __init__ (line 56) | def __init__(self, *args, **kwargs): method prepare (line 66) | def prepare(self, url, headers=None, allow_redirects=True, timeout=0, ... method close (line 74) | async def close(self): method _make_request (line 77) | async def _make_request( method check (line 120) | async def check(self) -> Tuple[str, int, Optional[CheckError]]: class ProxiedAiohttpChecker (line 152) | class ProxiedAiohttpChecker(SimpleAiohttpChecker): method __init__ (line 153) | def __init__(self, *args, **kwargs): class AiodnsDomainResolver (line 159) | class AiodnsDomainResolver(CheckerBase): method __init__ (line 163) | def __init__(self, *args, **kwargs): method prepare (line 168) | def prepare(self, url, headers=None, allow_redirects=True, timeout=0, ... method check (line 172) | async def check(self) -> Tuple[str, int, Optional[CheckError]]: class CheckerMock (line 190) | class CheckerMock: method __init__ (line 191) | def __init__(self, *args, **kwargs): method prepare (line 194) | def prepare(self, url, headers=None, allow_redirects=True, timeout=0, ... method check (line 197) | async def check(self) -> Tuple[str, int, Optional[CheckError]]: method close (line 201) | async def close(self): function detect_error_page (line 206) | def detect_error_page( function debug_response_logging (line 229) | def debug_response_logging(url, html_text, status_code, check_error): function process_site_result (line 237) | def process_site_result( function make_site_result (line 396) | def make_site_result( function check_site_for_username (line 528) | async def check_site_for_username( function debug_ip_request (line 554) | async def debug_ip_request(checker, logger): function get_failed_sites (line 563) | def get_failed_sites(results: Dict[str, QueryResultWrapper]) -> List[str]: function maigret (line 574) | async def maigret( function timeout_check (line 755) | def timeout_check(value): function site_self_check (line 780) | async def site_self_check( function self_check (line 880) | async def self_check( function extract_ids_data (line 940) | def extract_ids_data(html_text, logger, site) -> Dict: function parse_usernames (line 948) | def parse_usernames(extracted_ids_data, logger) -> Dict: function update_results_info (line 966) | def update_results_info(results_info, extracted_ids_data, new_usernames): FILE: maigret/errors.py class CheckError (line 8) | class CheckError: method __init__ (line 12) | def __init__(self, typename, desc=''): method __str__ (line 16) | def __str__(self): method type (line 23) | def type(self): method desc (line 27) | def desc(self): function is_important (line 94) | def is_important(err_data): function is_permanent (line 98) | def is_permanent(err_type): function detect (line 102) | def detect(text): function solution_of (line 109) | def solution_of(err_type) -> str: function extract_and_group (line 113) | def extract_and_group(search_res: QueryResultWrapper) -> List[Dict[str, ... function notify_about_errors (line 138) | def notify_about_errors( FILE: maigret/executors.py function create_task_func (line 12) | def create_task_func(): class AsyncExecutor (line 21) | class AsyncExecutor: method __init__ (line 23) | def __init__(self, *args, **kwargs): method run (line 26) | async def run(self, tasks: Iterable[QueryDraft]): method _run (line 33) | async def _run(self, tasks: Iterable[QueryDraft]): class AsyncioSimpleExecutor (line 37) | class AsyncioSimpleExecutor(AsyncExecutor): method __init__ (line 39) | def __init__(self, *args, **kwargs): method _run (line 43) | async def _run(self, tasks: Iterable[QueryDraft]): class AsyncioProgressbarExecutor (line 52) | class AsyncioProgressbarExecutor(AsyncExecutor): method __init__ (line 54) | def __init__(self, *args, **kwargs): method _run (line 57) | async def _run(self, tasks: Iterable[QueryDraft]): class AsyncioProgressbarSemaphoreExecutor (line 76) | class AsyncioProgressbarSemaphoreExecutor(AsyncExecutor): method __init__ (line 78) | def __init__(self, *args, **kwargs): method _run (line 82) | async def _run(self, tasks: Iterable[QueryDraft]): class AsyncioProgressbarQueueExecutor (line 102) | class AsyncioProgressbarQueueExecutor(AsyncExecutor): method __init__ (line 103) | def __init__(self, *args, **kwargs): method increment_progress (line 113) | async def increment_progress(self, count): method stop_progress (line 123) | async def stop_progress(self): method worker (line 133) | async def worker(self): method _run (line 155) | async def _run(self, queries: Iterable[QueryDraft]): class AsyncioQueueGeneratorExecutor (line 183) | class AsyncioQueueGeneratorExecutor: method __init__ (line 185) | def __init__(self, *args, **kwargs): method worker (line 193) | async def worker(self): method run (line 216) | async def run(self, queries: Iterable[Callable[..., Any]]): FILE: maigret/maigret.py function extract_ids_from_page (line 49) | def extract_ids_from_page(url, logger, timeout=5) -> dict: function extract_ids_from_results (line 89) | def extract_ids_from_results(results: QueryResultWrapper, db: MaigretDat... function setup_arguments_parser (line 108) | def setup_arguments_parser(settings: Settings): function main (line 465) | async def main(): function run (line 779) | def run(): FILE: maigret/notify.py class QueryNotify (line 15) | class QueryNotify: method __init__ (line 24) | def __init__(self, result=None): method start (line 43) | def start(self, message=None, id_type="username"): method update (line 62) | def update(self, result): method finish (line 81) | def finish(self, message=None): method __str__ (line 100) | def __str__(self): class QueryNotifyPrint (line 114) | class QueryNotifyPrint(QueryNotify): method __init__ (line 120) | def __init__( method make_colored_terminal_notify (line 156) | def make_colored_terminal_notify( method make_simple_terminal_notify (line 166) | def make_simple_terminal_notify( method make_terminal_notify (line 171) | def make_terminal_notify(self, *args): method start (line 177) | def start(self, message, id_type): method _colored_print (line 209) | def _colored_print(self, fore_color, msg): method success (line 215) | def success(self, message, symbol="+"): method warning (line 219) | def warning(self, message, symbol="-"): method info (line 223) | def info(self, message, symbol="*"): method update (line 227) | def update(self, result, is_similar=False): method __str__ (line 299) | def __str__(self): FILE: maigret/permutator.py class Permute (line 5) | class Permute: method __init__ (line 6) | def __init__(self, elements: dict): method gather (line 10) | def gather(self, method: str = "strict" or "all") -> dict: FILE: maigret/report.py function filter_supposed_data (line 32) | def filter_supposed_data(data): function sort_report_by_data_points (line 43) | def sort_report_by_data_points(results): function save_csv_report (line 60) | def save_csv_report(filename: str, username: str, results: dict): function save_txt_report (line 65) | def save_txt_report(filename: str, username: str, results: dict): function save_html_report (line 70) | def save_html_report(filename: str, context: dict): function save_pdf_report (line 77) | def save_pdf_report(filename: str, context: dict): function save_json_report (line 88) | def save_json_report(filename: str, username: str, results: dict, report... class MaigretGraph (line 93) | class MaigretGraph: method __init__ (line 98) | def __init__(self, graph): method add_node (line 101) | def add_node(self, key, value, color=None): method link (line 117) | def link(self, node1_name, node2_name): function save_graph_report (line 121) | def save_graph_report(filename: str, username_results: list, db: Maigret... function get_plaintext_report (line 249) | def get_plaintext_report(context: dict) -> str: function generate_report_template (line 265) | def generate_report_template(is_pdf: bool): function generate_report_context (line 288) | def generate_report_context(username_results: list): function generate_csv_report (line 424) | def generate_csv_report(username: str, results: dict, csvfile): function generate_txt_report (line 446) | def generate_txt_report(username: str, results: dict, file): function generate_json_report (line 462) | def generate_json_report(username: str, results: dict, file, report_type): function save_xmind_report (line 497) | def save_xmind_report(filename, username, results): function add_xmind_subtopic (line 506) | def add_xmind_subtopic(userlink, k, v, supposed_data): function design_xmind_sheet (line 515) | def design_xmind_sheet(sheet, username, results): FILE: maigret/result.py class MaigretCheckStatus (line 9) | class MaigretCheckStatus(Enum): method __str__ (line 20) | def __str__(self): class MaigretCheckResult (line 32) | class MaigretCheckResult: method __init__ (line 37) | def __init__( method json (line 85) | def json(self): method is_found (line 95) | def is_found(self): method __repr__ (line 98) | def __repr__(self): method __str__ (line 101) | def __str__(self): FILE: maigret/settings.py class Settings (line 13) | class Settings: method __init__ (line 51) | def __init__(self): method load (line 54) | def load(self, paths=None): method json (line 85) | def json(self): FILE: maigret/sites.py class MaigretEngine (line 11) | class MaigretEngine: method __init__ (line 14) | def __init__(self, name, data): method json (line 19) | def json(self): class MaigretSite (line 23) | class MaigretSite: method __init__ (line 96) | def __init__(self, name, information): method __str__ (line 109) | def __str__(self): method __is_equal_by_url_or_name (line 112) | def __is_equal_by_url_or_name(self, url_or_name_str: str): method __eq__ (line 126) | def __eq__(self, other): method update_detectors (line 160) | def update_detectors(self): method detect_username (line 172) | def detect_username(self, url: str) -> Optional[str]: method extract_id_from_url (line 180) | def extract_id_from_url(self, url: str) -> Optional[Tuple[str, str]]: method pretty_name (line 198) | def pretty_name(self): method json (line 204) | def json(self): method errors_dict (line 219) | def errors_dict(self) -> dict: method get_url_template (line 226) | def get_url_template(self) -> str: method update (line 237) | def update(self, updates: "dict") -> "MaigretSite": method update_from_engine (line 243) | def update_from_engine(self, engine: MaigretEngine) -> "MaigretSite": method strip_engine_data (line 261) | def strip_engine_data(self) -> "MaigretSite": class MaigretDatabase (line 293) | class MaigretDatabase: method __init__ (line 294) | def __init__(self): method sites (line 300) | def sites(self): method sites_dict (line 304) | def sites_dict(self): method has_site (line 307) | def has_site(self, site: MaigretSite): method __contains__ (line 313) | def __contains__(self, site): method ranked_sites_dict (line 316) | def ranked_sites_dict( method engines (line 377) | def engines(self): method engines_dict (line 381) | def engines_dict(self): method update_site (line 384) | def update_site(self, site: MaigretSite) -> "MaigretDatabase": method save_to_file (line 393) | def save_to_file(self, filename: str) -> "MaigretDatabase": method load_from_json (line 410) | def load_from_json(self, json_data: dict) -> "MaigretDatabase": method load_from_str (line 438) | def load_from_str(self, db_str: "str") -> "MaigretDatabase": method load_from_path (line 449) | def load_from_path(self, path: str) -> "MaigretDatabase": method load_from_http (line 455) | def load_from_http(self, url: str) -> "MaigretDatabase": method load_from_file (line 486) | def load_from_file(self, filename: "str") -> "MaigretDatabase": method get_scan_stats (line 503) | def get_scan_stats(self, sites_dict): method extract_ids_from_url (line 513) | def extract_ids_from_url(self, url: str) -> dict: method get_db_stats (line 523) | def get_db_stats(self, is_markdown=False): method _format_top_items (line 591) | def _format_top_items( FILE: maigret/submit.py class CloudflareSession (line 22) | class CloudflareSession: method __init__ (line 23) | def __init__(self): method get (line 26) | async def get(self, *args, **kwargs): method status_code (line 33) | def status_code(self): method text (line 36) | async def text(self): method close (line 40) | async def close(self): class Submitter (line 44) | class Submitter: method __init__ (line 55) | def __init__(self, db: MaigretDatabase, settings: Settings, logger, ar... method close (line 77) | async def close(self): method get_alexa_rank (line 81) | def get_alexa_rank(site_url_main): method extract_mainpage_url (line 98) | def extract_mainpage_url(url): method site_self_check (line 101) | async def site_self_check(self, site, semaphore, silent=False): method generate_additional_fields_dialog (line 116) | def generate_additional_fields_dialog(self, engine: MaigretEngine, dia... method detect_known_engine (line 128) | async def detect_known_engine( method extract_username_dialog (line 183) | def extract_username_dialog(url): method get_html_response_to_compare (line 193) | async def get_html_response_to_compare( method check_features_manually (line 209) | async def check_features_manually( method add_site (line 321) | async def add_site(self, site): method dialog (line 393) | async def dialog(self, url_exists, cookie_file): FILE: maigret/utils.py class CaseConverter (line 15) | class CaseConverter: method camel_to_snake (line 17) | def camel_to_snake(camelcased_string: str) -> str: method snake_to_camel (line 21) | def snake_to_camel(snakecased_string: str) -> str: method snake_to_title (line 27) | def snake_to_title(snakecased_string: str) -> str: function is_country_tag (line 33) | def is_country_tag(tag: str) -> bool: function enrich_link_str (line 38) | def enrich_link_str(link: str) -> str: class URLMatcher (line 45) | class URLMatcher: method extract_main_part (line 51) | def extract_main_part(self, url: str) -> str: method make_profile_url_regexp (line 59) | def make_profile_url_regexp(self, url: str, username_regexp: str = ""): function ascii_data_display (line 73) | def ascii_data_display(data: str) -> Any: function get_dict_ascii_tree (line 77) | def get_dict_ascii_tree(items, prepend="", new_line=True): function get_random_user_agent (line 106) | def get_random_user_agent(): function get_match_ratio (line 110) | def get_match_ratio(base_strs: list): function generate_random_username (line 125) | def generate_random_username(): FILE: maigret/web/app.py function setup_logger (line 36) | def setup_logger(log_level, name): function maigret_search (line 42) | async def maigret_search(username, options): function search_multiple_usernames (line 87) | async def search_multiple_usernames(usernames, options): function process_search_task (line 98) | def process_search_task(usernames, options, timestamp): function index (line 193) | def index(): function search (line 213) | def search(): function status (line 265) | def status(timestamp): function results (line 296) | def results(session_id): function download_report (line 322) | def download_report(filename): FILE: tests/conftest.py function by_slow_marker (line 44) | def by_slow_marker(item): function pytest_collection_modifyitems (line 48) | def pytest_collection_modifyitems(items): function get_test_reports_filenames (line 52) | def get_test_reports_filenames(): function remove_test_reports (line 56) | def remove_test_reports(): function default_db (line 64) | def default_db(): function test_db (line 69) | def test_db(): function local_test_db (line 74) | def local_test_db(): function reports_autoclean (line 79) | def reports_autoclean(): function settings (line 86) | def settings(): function argparser (line 93) | def argparser(): function httpserver_listen_address (line 100) | def httpserver_listen_address(): function cookie_test_server (line 105) | async def cookie_test_server(): FILE: tests/test_activation.py function test_vimeo_activation (line 30) | def test_vimeo_activation(default_db): function test_import_aiohttp_cookies (line 42) | async def test_import_aiohttp_cookies(cookie_test_server): FILE: tests/test_checking.py function site_result_except (line 7) | def site_result_except(server, username, **kwargs): function test_checking_by_status_code (line 14) | async def test_checking_by_status_code(httpserver, local_test_db): function test_checking_by_message_positive_full (line 29) | async def test_checking_by_message_positive_full(httpserver, local_test_... function test_checking_by_message_positive_part (line 44) | async def test_checking_by_message_positive_part(httpserver, local_test_... function test_checking_by_message_negative (line 59) | async def test_checking_by_message_negative(httpserver, local_test_db): FILE: tests/test_cli.py function test_args_search_mode (line 51) | def test_args_search_mode(argparser): function test_args_search_mode_several_usernames (line 63) | def test_args_search_mode_several_usernames(argparser): function test_args_self_check_mode (line 75) | def test_args_self_check_mode(argparser): function test_args_multiple_sites (line 91) | def test_args_multiple_sites(argparser): FILE: tests/test_data.py function test_tags_validity (line 8) | def test_tags_validity(default_db): FILE: tests/test_errors.py function test_notify_about_errors (line 7) | def test_notify_about_errors(): FILE: tests/test_executors.py function func (line 17) | async def func(n): function test_simple_asyncio_executor (line 23) | async def test_simple_asyncio_executor(): function test_asyncio_progressbar_executor (line 32) | async def test_asyncio_progressbar_executor(): function test_asyncio_progressbar_semaphore_executor (line 43) | async def test_asyncio_progressbar_semaphore_executor(): function test_asyncio_progressbar_queue_executor (line 55) | async def test_asyncio_progressbar_queue_executor(): function test_asyncio_queue_generator_executor (line 83) | async def test_asyncio_queue_generator_executor(): FILE: tests/test_maigret.py function test_self_check_db (line 21) | async def test_self_check_db(test_db): function test_maigret_results (line 40) | def test_maigret_results(test_db): function test_extract_ids_from_url (line 88) | def test_extract_ids_from_url(default_db): function test_extract_ids_from_page (line 105) | def test_extract_ids_from_page(test_db): function test_extract_ids_from_results (line 112) | def test_extract_ids_from_results(test_db): FILE: tests/test_notify.py function test_notify_illegal (line 6) | def test_notify_illegal(): function test_notify_claimed (line 22) | def test_notify_claimed(): function test_notify_available (line 38) | def test_notify_available(): function test_notify_unknown (line 54) | def test_notify_unknown(): FILE: tests/test_permutator.py function test_gather_strict (line 5) | def test_gather_strict(): function test_gather_all (line 26) | def test_gather_all(): FILE: tests/test_report.py function test_generate_report_template (line 266) | def test_generate_report_template(): function test_generate_csv_report (line 278) | def test_generate_csv_report(): function test_generate_csv_report_broken (line 291) | def test_generate_csv_report_broken(): function test_generate_txt_report (line 304) | def test_generate_txt_report(): function test_generate_txt_report_broken (line 317) | def test_generate_txt_report_broken(): function test_generate_json_simple_report (line 329) | def test_generate_json_simple_report(): function test_generate_json_simple_report_broken (line 342) | def test_generate_json_simple_report_broken(): function test_generate_json_ndjson_report (line 355) | def test_generate_json_ndjson_report(): function test_save_xmind_report (line 368) | def test_save_xmind_report(): function test_save_xmind_report_broken (line 388) | def test_save_xmind_report_broken(): function test_html_report (line 402) | def test_html_report(): function test_html_report_broken (line 414) | def test_html_report_broken(): function test_pdf_report (line 430) | def test_pdf_report(): function test_text_report (line 438) | def test_text_report(): function test_text_report_broken (line 448) | def test_text_report_broken(): FILE: tests/test_sites.py function test_load_empty_db_from_str (line 32) | def test_load_empty_db_from_str(): function test_load_valid_db (line 40) | def test_load_valid_db(): function test_site_json_dump (line 51) | def test_site_json_dump(): function test_site_correct_initialization (line 62) | def test_site_correct_initialization(): function test_site_strip_engine_data (line 75) | def test_site_strip_engine_data(): function test_site_strip_engine_data_with_site_prior_updates (line 85) | def test_site_strip_engine_data_with_site_prior_updates(): function test_saving_site_error (line 97) | def test_saving_site_error(): function test_site_url_detector (line 113) | def test_site_url_detector(): function test_ranked_sites_dict (line 127) | def test_ranked_sites_dict(): function test_ranked_sites_dict_names (line 154) | def test_ranked_sites_dict_names(): function test_ranked_sites_dict_disabled (line 165) | def test_ranked_sites_dict_disabled(): function test_ranked_sites_dict_id_type (line 174) | def test_ranked_sites_dict_id_type(): function test_get_url_template (line 185) | def test_get_url_template(): function test_has_site_url_or_name (line 208) | def test_has_site_url_or_name(default_db): FILE: tests/test_submit.py function test_detect_known_engine (line 11) | async def test_detect_known_engine(test_db, local_test_db): function test_check_features_manually_success (line 58) | async def test_check_features_manually_success(settings): function test_check_features_manually_success (line 112) | async def test_check_features_manually_success(settings): function test_dialog_adds_site_positive (line 146) | async def test_dialog_adds_site_positive(settings): function test_dialog_replace_site (line 194) | async def test_dialog_replace_site(settings, test_db): function test_dialog_adds_site_negative (line 248) | async def test_dialog_adds_site_negative(settings): FILE: tests/test_utils.py function test_case_convert_camel_to_snake (line 16) | def test_case_convert_camel_to_snake(): function test_case_convert_snake_to_camel (line 23) | def test_case_convert_snake_to_camel(): function test_case_convert_snake_to_title (line 30) | def test_case_convert_snake_to_title(): function test_case_convert_camel_with_digits_to_snake (line 37) | def test_case_convert_camel_with_digits_to_snake(): function test_is_country_tag (line 44) | def test_is_country_tag(): function test_enrich_link_str (line 54) | def test_enrich_link_str(): function test_url_extract_main_part_negative (line 62) | def test_url_extract_main_part_negative(): function test_url_extract_main_part (line 67) | def test_url_extract_main_part(): function test_url_make_profile_url_regexp (line 86) | def test_url_make_profile_url_regexp(): function test_get_dict_ascii_tree (line 106) | def test_get_dict_ascii_tree(): function test_get_match_ratio (line 143) | def test_get_match_ratio(): FILE: utils/add_tags.py function update_tags (line 9) | def update_tags(site): FILE: utils/check_engines.py function check_engine_of_site (line 14) | async def check_engine_of_site(site_name, sites_with_engines, future, en... function update_site_data (line 106) | async def update_site_data(site_name, site_data, all_sites, logger, no_p... FILE: utils/import_sites.py function maigret_check (line 18) | async def maigret_check(site, site_data, username, status, logger): function check_and_add_maigret_site (line 57) | async def check_and_add_maigret_site(site_data, semaphore, logger, ok_us... function create_site_from_engine (line 236) | def create_site_from_engine(sitename, data, e): FILE: utils/sites_diff.py function get_match_ratio (line 26) | def get_match_ratio(x): FILE: utils/update_site_data.py function get_rank (line 30) | def get_rank(domain_to_query, site, print_errors=True): function get_step_rank (line 59) | def get_step_rank(rank): function main (line 70) | def main(): FILE: wizard.py function main (line 11) | def main():