Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Compare

aet edited this page Feb 10, 2022 · 1 revision

↔️ Compare module

Compare module is the module that allows you to compare exported files between them to see common or not-common usernames in it (it is based on instagram id to don't take in count account that have changed of username).
To get the help, type sterra compare -h.

⚒ Usage

sterra compare FILE_ID_1 FILE_ID_2
# file behind FILE_ID_2 will be compared to FILE_ID_1 file

📟 Compare arguments

The module has two compare mode:

sterra compare F_ID_1 F_ID_2 --common-usernames
# This will print common usernames between the two lists

sterra compare F_ID_1 F_ID_2 --not-common-usernames
# This will print usernames of F_ID_2 not in F_ID_1
# The result can vary in function of the order of the files for this arguement:
# use -i|--invert to invert them

🖋 Results printing

You can print the instagram urls instead of the usernames

sterra compare FILE_ID_1 FILE_ID_2 --COMPARE-MODE -u|--url
# Using -u|--url will print
https://www.instgaram.com/USERNAME/
# Instead of
USERNAME

You can disable printing

sterra compare FILE_ID_1 FILE_ID_2 --COMPARE-MODE -n|--no-print
# --no-print will raise an error if the file is not exported
# it is to avoid making the job for no output

📤 Export

sterra compare FILE_ID_1 FILE_ID_2 --COMPARE-MODE -e|--export
# -f|--format will be to specify the format of the exported file
# -p|--path will be to specify the path of the export

sterra compare FILE_ID_1 FILE_ID_2 --COMPARE-MODE -e|--export -f|--format {excel|csv|json}
# To change the default export format (excel)
sterra compare FILE_ID_1 FILE_ID_2 --COMPARE-MODE -e|--export -p|--path PATH
# To select a custom export path
sterra compare FILE_ID_1 FILE_ID_2 --COMPARE-MODE -e|--export --name NAME
# To name the file a custom way