ListenNotes

FREEMIUM
By Listen Notes | Updated 4日前 | Media
Popularity

9.2 / 10

Latency

105ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Duplicate results returned when paging

Rapid account: Val Can Build
ValCanBuild
il y a 6 ans

When paging I can get duplicate results returned for certain queries. Meaning that the last result of the first page is the first result of the second page. For example:
First page: https://listennotes.p.mashape.com/api/v1/search?q=frag&type=podcast&only_in=title,author&offset=0
Second page: https://listennotes.p.mashape.com/api/v1/search?q=frag&type=podcast&only_in=title,author&offset=10

Notice that the last result of the first call is:

{
        "id": "1b7e41415fef43a586d6430841c194c4",
        "thumbnail": "https://d3sv2eduhewoas.cloudfront.net/channel/image/8ddfee167ef54ba08060eed56c9d99a1.jpe",
        "rss": "https://www.listennotes.com/c/r/1b7e41415fef43a586d6430841c194c4",
        "description_highlighted": "...Webradio der Universit\u00e4t Graz",
        "image": "https://d3sv2eduhewoas.cloudfront.net/channel/image/8ddfee167ef54ba08060eed56c9d99a1.jpe",
        "listennotes_url": "https://www.listennotes.com/podcasts/aktuell-gefragt-TrmQU-DnBhP/",
        "publisher_highlighted": "",
        "genres": [107, 110],
        "publisher_original": "",
        "title_highlighted": "Aktuell <span class=\"ln-search-highlight\">gefragt</span>",
        "description_original": "Webradio der Universit\u00e4t Graz",
        "lastest_pub_date_ms": "2 years ago",
        "title_original": "Aktuell gefragt",
        "itunes_id": 658817955
    }

And this is also the first result of the 2nd call

Is this an API error or am I requesting it wrong?

Rapid account: Val Can Build
ValCanBuild Commented il y a 6 ans

Thanks, it works now

Rapid account: Listennotes
listennotes Commented il y a 6 ans

The bug is fixed. Please try again.

Let me know if you are still seeing the same problem.

Thanks again for reporting this issue!

Rapid account: Listennotes
listennotes Commented il y a 6 ans

You are using the api correctly and I can reproduce the results you are seeing.

Investigating now… Will keep you posted.

Btw, you can test on the website, which returns same results as the API: https://lnns.co/RPDVTQaEhqU

Join in the discussion - add comment below:

Login / Signup to post new comments