mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.84k stars 971 forks source link

Instagram 404 issue #4606

Closed notBradPitt closed 1 year ago

notBradPitt commented 1 year ago

I'm getting [instagram][error] HttpError: '404 Not Found' for 'https://www.instagram.com/api/v1/users/web_profile_info/' error for Instagram. Cookies are provided and was working yesterday. Oddly, the page still works normally when opened on Browser

mikf commented 1 year ago

This is just a bad error message for "User not found", I think.

$ gallery-dl instagram.com/asdwqerwerf
[instagram][error] HttpError: '404 Not Found' for 'https://www.instagram.com/api/v1/users/web_profile_info/'

$ gallery-dl instagram.com/instagram
/tmp/_/instagram/instagram/3204103113363920613_3204103107667896564.jpg
...
notBradPitt commented 1 year ago

Thank you, you're correct.

I ran multiple tests (even modified the API URL) that yielded the same result, but I forgot to account for error on my part. Turns out I was clearing username variables before it was passed to gallery-dl.

Everything works as expected now

rufi-san commented 1 year ago

i have the same error and i have the newest gallery-dl and i login, but still the same message, somebady have a solution?

notBradPitt commented 1 year ago

Are you sure you aren't blocked?

mikf commented 1 year ago

He seems to have solved his problem ... somehow: #4668