Course 2 Week2 Lab2

This piece of code is giving me an offset of 0 (first case) and (20 second case)

It should be 20 and 40, anyone can explain why this is happening?

Thank you

And Because of this my first exercise is producing wrong outputs…

Hello @Ricardo_Lousada,

I could reproduce the error, it seems in the get_featured_playlists function you used the url instead of the request_url when it perform a get() request using the request_url and headers. Hope it helps

Hi @Georgios, you got it, already changed the code at it’s working, many thanks. Now need to solve the other one.

1 Like