Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Last.FM API Help!
#8
You have already helped me so much, but I have one more question.

For the URL request, I actually have artist (Cher) as a variable. It seems when the request is made to the website, it's doesn't properly encode the variable. This becomes apparent when there is a special character (e.g. Sonny & Cher). I believe it is coming up as "&" rather than percent-encoding it to "%26". I tried messing around with urlencode, urlquote, and replace, but I am obviously not doing it correctly. Any ideas on how to solve this issue?
Reply


Messages In This Thread
Last.FM API Help! - by zaz102 - Jul-26-2018, 08:49 PM
RE: Last.FM API Help! - by snippsat - Jul-26-2018, 09:17 PM
RE: Last.FM API Help! - by zaz102 - Jul-27-2018, 01:43 AM
RE: Last.FM API Help! - by zaz102 - Jul-27-2018, 06:36 PM
RE: Last.FM API Help! - by snippsat - Jul-27-2018, 07:07 PM
RE: Last.FM API Help! - by zaz102 - Jul-28-2018, 02:58 AM
RE: Last.FM API Help! - by snippsat - Jul-28-2018, 10:12 AM
RE: Last.FM API Help! - by zaz102 - Jul-29-2018, 02:14 AM
RE: Last.FM API Help! - by snippsat - Jul-29-2018, 09:57 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020