nacimgoura / instagram-profilecrawl

:computer: Quickly crawl the information (e.g. followers, tags, etc...) of an instagram profile. No login required!
MIT License
121 stars 30 forks source link

Make it easier to call programatically #16

Closed marcospgp closed 6 years ago

marcospgp commented 6 years ago

It would be great if we could call the script using an attribute with the method choice (api or selenium) instead of selecting with arrows and pressing enter. Something like:

instagram-profilecrawl --method="api" or instagram-profilecrawl --method="selenium"

Another good thing to have would be a way to choose the filename for the result, perhaps with another parameter. It would also be nice to have the default name be "profile-\<name>" instead of "profile \ \<name>", because spaces in filenames can be problematic.

These changes would make it easier to use this inside scripts instead of just manually through the console!

Cheers 😄

nacimgoura commented 6 years ago

yes it's a good idea, I try to do it asap.

marcospgp commented 6 years ago

Small note, the parameters don't need quotes, so it would be instagram-profilecrawl --method=api or instagram-profilecrawl --method=selenium instead, or whatever else you prefer!

nacimgoura commented 6 years ago

It's done!

marcospgp commented 6 years ago

Awesome! Nice work 👍