Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI on Windows #34

Closed
AdrianoCahete opened this issue Feb 4, 2021 · 6 comments
Closed

CLI on Windows #34

AdrianoCahete opened this issue Feb 4, 2021 · 6 comments
Labels
implemented feature or request got implemented in-progress feature, request or update is being added

Comments

@AdrianoCahete
Copy link

How to run as CLI on Windows?

@giga-a
Copy link
Member

giga-a commented Feb 4, 2021

Hey AdrianoCahete, thanks for submitting your first issue!

I will add examples and follow up with you in the next few hours

@giga-a giga-a added the in-progress feature, request or update is being added label Feb 4, 2021
@giga-a
Copy link
Member

giga-a commented Feb 4, 2021

For now, try the Python CLI (There is a NodeJS CLI that produces similar output but the backend is different)

Make sure to download the latest version of social-analyzer

Download Python3 from https://www.python.org/downloads/

Then run:

pip3 install lxml BeautifulSoup4 tld pygments langdetect requests
or 
pip install lxml BeautifulSoup4 tld pygments langdetect requests

Then run this example

python3 app.py --cli --mode "fast" --username "johndoe" --websites "youtube pinterest tumblr" --output "pretty"
or
python app.py --cli --mode "fast" --username "johndoe" --websites "youtube pinterest tumblr" --output "pretty"

Does it work?

@AdrianoCahete
Copy link
Author

Worked! :)

For future comparisons: Windows 10 x64

@giga-a
Copy link
Member

giga-a commented Feb 4, 2021

Awesome, let me know if you run into future issues..
Do not forget to share your experience with social-analyzer elsewhere!

@giga-a giga-a added the implemented feature or request got implemented label Feb 4, 2021
@giga-a giga-a closed this as completed Feb 4, 2021
@giga-a giga-a reopened this Feb 4, 2021
@giga-a
Copy link
Member

giga-a commented Feb 5, 2021

Hey, I simplified it more - You can download the pip package called social-analyzer and run it as module anywhere (win or linux)

pip install social-analyzer
python -m social-analyzer --cli --mode "fast" --username "johndoe" --websites "youtube pinterest tumblr" --output "pretty"

@giga-a giga-a closed this as completed Feb 5, 2021
@AdrianoCahete
Copy link
Author

JFYI: Fully working as a python module! Thanks :)

codemagichq added a commit to codemagichq/social-analyzer that referenced this issue Dec 26, 2022
codemagichq added a commit to codemagichq/social-analyzer that referenced this issue Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
implemented feature or request got implemented in-progress feature, request or update is being added
Projects
None yet
Development

No branches or pull requests

2 participants