vartanbeno / go-reddit

Go library for accessing the Reddit API.
Other
310 stars 84 forks source link

searchpost params error #33

Open dybxin opened 2 years ago

dybxin commented 2 years ago

if i want go subreddit: https://www.reddit.com/r/btc/search btc, all data.

client.Subreddit.SearchPosts(ctx, "", "btc", &reddit.ListPostSearchOptions{
            ListPostOptions: reddit.ListPostOptions{
                ListOptions: reddit.ListOptions{
                    Limit: limit,
                    After: after,
                },
            },
        })

i got empty []. but in https://www.reddit.com/r/btc/search has datas.