This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Technical arguments
aet edited this page Feb 10, 2022
·
1 revision
They are made for debug and development purpose.
Argument --raw-raising
will raise Exceptions instead of printing them. e.g.:
# Let's admit I use a wrong credential
>>> sterra export -lcrd USERNAME WRONG_PASSWORD *args
>>> LoginError: Invalid credentials.
# Now same but with --raw-raising
>>> sterra --raw-raising export -lcrd USERNAME WRONG_PASSWORD *args
>>> Traceback (most recent call last):
File "./sterraxcyl/sterra/core.py", line 289, in <module>
main()
File "./sterraxcyl/sterra/core.py", line 285, in main
result = globals()[module.upper()](**kwargs)
File "./sterraxcyl/sterra/core.py", line 43, in EXPORT
scraper = _instagram(_,**kwargs)
File "./sterraxcyl/sterra/stegram.py", line 96, in __init__
sessionid = _credToSessID(kwargs.get("login_credentials"))
File "./sterraxcyl/sterra/stegram.py", line 55, in _credToSessID
_.r(LoginError("Invalid credentials."))
File "./sterraxcyl/sterra/_outputs_.py", line 18, in r
raise e
SterraException.LoginError: Invalid credentials.
Argument --no-colors
will turn all prints in Black and White.
- Home
- Basic usage
-
Usage examples
- Our exemple target
- Export the list
- Analyzing close circle
- Checking mutuals
- Export
-
Compare
- Introduction
- Usage
- Arguements
- Analyse
-
Convert
- Introduction
- Using the module
-
History
- Arguments
- Technical arguments
- Uninstall