-
Notifications
You must be signed in to change notification settings - Fork 23
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
saving file+hashtags #17
Comments
Ah! Sounds like you're using PowerShell/Command Prompt. You need to use Bash or Zsh (the |
Thanks! I followed the instructions on the site you shared and later installed Ubuntu, but it states here (https://packages.ubuntu.com/) that the gogettr package is not available. Hence, I'm still getting the following error: E: Unable to locate package gogettr |
So you need to use either Just make sure you have python |
Thanks! I tried several times but I am having trouble with my Linux environment configuration on Windows, so I gave up. Hence, I am trying now using the python module, but I don't think there is a way to get a user's posts or a specific hashtag, correct? Here are the available options: https://github.com/stanfordio/gogettr/tree/main/tests |
The hashtags API as currently implemented just returns trending news and takes no arguments. There is a separate hashtag search API, but we currently don't have support for it, and I don't see an option to make it user-specific. Support for the newer hashtag search would require v2 API support (#27), which uses a cursor instead of an offset. Closing for now. |
Hi,
Thanks for the update! I have Windows 10, and I am running Python from the shell. The script is fetching user's posts now, but is there a way to save the data as a file e.g. JSON or CSV. I tried using filename.json in the end of the command, but it didn't work. Then I used --o filename.json which also didn't work
Regarding hashtag search, it does not seem to be working because of the command argument. I tried alternative formats e.g. gogettr hashtags [#selfie] OR gogettr hashtags [selfie] OR gogettr hashtags #selfie OR gogettr hashtags [OPTIONS] #selfie...etc, but I always get the same error: Error: Got unexpected extra arguments ([OPTIONS].
Thanks!
Ahmed
The text was updated successfully, but these errors were encountered: