diff --git a/README.md b/README.md index fd671d0..cf3db14 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ ## About -**Maigret** collect a dossier on a person **by username only**, checking for accounts on a huge number of sites and gathering all the available information from web pages. Maigret is an easy-to-use and power fork of [Sherlock](https://github.com/sherlock-project/sherlock). +**Maigret** collect a dossier on a person **by username only**, checking for accounts on a huge number of sites and gathering all the available information from web pages. Maigret is an easy-to-use and powerful fork of [Sherlock](https://github.com/sherlock-project/sherlock). Currently supported more than 2000 sites ([full list](./sites.md)), search is launched against 500 popular sites in descending order of popularity by default. diff --git a/maigret/__init__.py b/maigret/__init__.py index 8ccc7e8..8aeddeb 100644 --- a/maigret/__init__.py +++ b/maigret/__init__.py @@ -1,5 +1,12 @@ """Maigret""" +__title__ = 'Maigret' +__package__ = 'maigret' +__author__ = 'Soxoj' +__author_email__ = 'soxoj@protonmail.com' + + +from .__version__ import __version__ from .checking import maigret as search from .sites import MaigretEngine, MaigretSite, MaigretDatabase from .notify import QueryNotifyPrint as Notifier diff --git a/maigret/maigret.py b/maigret/maigret.py index ccee03a..57cd96c 100755 --- a/maigret/maigret.py +++ b/maigret/maigret.py @@ -13,6 +13,7 @@ from typing import List, Tuple import requests from socid_extractor import extract, parse, __version__ as socid_version +from .__version__ import __version__ from .checking import ( timeout_check, SUPPORTED_IDS, @@ -37,8 +38,6 @@ from .submit import submit_dialog from .types import QueryResultWrapper from .utils import get_dict_ascii_tree -__version__ = '0.2.2' - def notify_about_errors(search_results: QueryResultWrapper, query_notify): errs = errors.extract_and_group(search_results) @@ -166,7 +165,7 @@ def setup_arguments_parser(): type=int, metavar='RETRIES', default=1, - help="Attempts to restart temporary failed requests.", + help="Attempts to restart temporarily failed requests.", ) parser.add_argument( "-n", diff --git a/maigret/resources/data.json b/maigret/resources/data.json index 29d0907..5757dc6 100644 --- a/maigret/resources/data.json +++ b/maigret/resources/data.json @@ -26202,7 +26202,7 @@ "usernameUnclaimed": "noonewouldeverusethis7" }, "Reddit Search (Pushshift)": { - "urlMain": "https://camas.github.io/", + "urlMain": "https://camas.github.io/reddit-search/", "url": "https://camas.github.io/reddit-search/#{{\"author\":\"{username}\",\"resultSize\":100}}", "urlProbe": "https://api.pushshift.io/reddit/comment/search?html_decode=true&author={username}&size=100", "usernameClaimed": "arkasha",