-
Notifications
You must be signed in to change notification settings - Fork 26
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
Scrape account which begins with a hyphen? #27
Comments
Have the same issue. Doesn't seem like any additions / changes to the string helps. |
This is a cool edge case. Do you guys have an account I can test it with until I fix it? |
Sure, thanks for looking into it. -mik |
Here is an account with a hyphen |
I'll add this in probably within the next week. |
Hello, not sure if people are still having an issue with profiles that start with a dash, the fix is in the way you initiate the command. you need to construct the command like this: -- (double-dash) in a shell command indicates the end of options and incapacitates further option processing for the Unix or Linux command. Coincidentally, the same is true on the command line when you try to change into a directory that has a leading dash. "cd -- -folder_name" will tell the preceding command to ignore any following dashes as input, failure to add the double dashes will prevent you from cd'ing into the folder then you will get an error. I hope this helps... =) |
It worked, thanks |
Is there a way to get images from an account which begins with a hyphen ("-username")? So far I've tried encapsulating in double-quotes, single-quotes, and also escaping the "-" character like \-username, but no joy. All attempts result in a JSON key error.
The text was updated successfully, but these errors were encountered: