Back to discussionComment by Retr0id[-]Retr0id2 years ago1 reply#They're case-sensitive for the purpose of scraping a profile page.https://news.ycombinator.com/user?id=Retr0id - 200https://news.ycombinator.com/user?id=retr0id - 404 (Edit: 200 now?)[-]michaelmior2 years ago1 reply#That second one doesn't give me a 404 but correctly shows your profile.[-]Retr0id2 years ago1 reply#Weird, it also works for me now, I could've sworn it didn't work before.The firebase API on the other hand remains case-sensitive:https://hacker-news.firebaseio.com/v0/user/Retr0id.json => full responsehttps://hacker-news.firebaseio.com/v0/user/retr0id.json => nulldiggan2 years ago1 reply#I think maybe you're thinking about the "threads" list/page:- https://news.ycombinator.com/threads?id=Retr0id - Works- https://news.ycombinator.com/threads?id=retr0id - Doesn't workWhich somehow I guess the API is using.Continue this thread — 1 reply
Retr0id2 years ago1 reply#They're case-sensitive for the purpose of scraping a profile page.https://news.ycombinator.com/user?id=Retr0id - 200https://news.ycombinator.com/user?id=retr0id - 404 (Edit: 200 now?)
michaelmior2 years ago1 reply#That second one doesn't give me a 404 but correctly shows your profile.
Retr0id2 years ago1 reply#Weird, it also works for me now, I could've sworn it didn't work before.The firebase API on the other hand remains case-sensitive:https://hacker-news.firebaseio.com/v0/user/Retr0id.json => full responsehttps://hacker-news.firebaseio.com/v0/user/retr0id.json => null
diggan2 years ago1 reply#I think maybe you're thinking about the "threads" list/page:- https://news.ycombinator.com/threads?id=Retr0id - Works- https://news.ycombinator.com/threads?id=retr0id - Doesn't workWhich somehow I guess the API is using.
https://news.ycombinator.com/user?id=Retr0id - 200
https://news.ycombinator.com/user?id=retr0id - 404 (Edit: 200 now?)
The firebase API on the other hand remains case-sensitive:
https://hacker-news.firebaseio.com/v0/user/Retr0id.json => full response
https://hacker-news.firebaseio.com/v0/user/retr0id.json => null
- https://news.ycombinator.com/threads?id=Retr0id - Works
- https://news.ycombinator.com/threads?id=retr0id - Doesn't work
Which somehow I guess the API is using.
Continue this thread — 1 reply