pushshift / api

Pushshift API
1.29k stars 109 forks source link

URL encoded commas do not work for some comma separated parameters #26

Open dashstander opened 5 years ago

dashstander commented 5 years ago

In particular these two requests work:

https://api.pushshift.io/reddit/search/submission/?ids=bfghow,bfghno https://api.pushshift.io/reddit/search/submission/?ids=bfghow,bfghno&fields=title,id,score

but these two do not:

https://api.pushshift.io/reddit/search/submission/?ids=bfghow%2Cbfghno https://api.pushshift.io/reddit/search/submission/?ids=bfghow,bfghno&fields=title%2Cid%2Cscore

Against the comments endpoint, the URL encoded commas work for the ids parameter:

https://api.pushshift.io/reddit/search/comment/?ids=eldib61%2celdr6en&fields=body,id,score

but not with the fields parameter:

https://api.pushshift.io/reddit/search/comment/?ids=eldib61%2celdr6en&fields=body%2Cid%2Cscore

645383 commented 1 year ago

any updates?