They both work without redirect.
Do you know when they are going to auto redirect to the second URL?
FTR I’m asking this because currently we cannot call the itunes.apple.com/lookup search API from a music.apple.com page (CORS not declared).
And the music.apple.com/lookup URL does not exist.
I don’t know which one of the two fixes they will choose.
So my current fix is not yet OK to submit to dufferzafar:
itunes.apple.com is the new way. It seems they’ve started integrating before now. It was www.itunes.com. I use “fnd.io” to locate iTunes releases. It always brought me to www.itunes.com before. I think it might not have been an all at once thing, because I’ve noticed that some have itunes.apple.com address for their links for a while now, but mine always was www.itunes.com. With that address it had both the iTunes & Apple Music ID’s together and when you clicked “see in Apple Music” it’d bring you there and vice versa. In the script, I had to manually change the www.itunes.com in the addresses to itunes.apple.com yesterday to make it work. Yeah, it only works on itunes.apple.com, but not music.apple.com. I tried it with the second also and got no results. Most of the time they are the same ID, but it would be nice to have both urls since they are technically 2 different sites now.
Update: The manual replacement trick I mentioned earlier no longer works. Even following a link from MB (which worked previously) results in an automatic redirect.
This means the iTunes import script no longer works (for the time being, at least) but it’s still possible to glean release dates, barcodes, cover art, etc. by digging in the page source manually.
Is it still necessary to have both URLs when these are the same IDs?
Should we still consider two different websites or just anticipate on itunes.apple.com becoming just a redirect in the near future?
That’s not entirely clear. What is clear is that the desktop app is being discontinued; what’s still up in the air is whether there will still be a way to purchase content. More on that in this thread.
I actually have an Apple Music account and I noticed starting this morning that Apple Music is now embeded on the website and not just the app. The “Also available on iTunes” link appears to be gone. So, yes, outside of Windows software, it appears that iTunes is history. I also only got a blank page as you stated. We really need to update iTunes on MB. I asked last year for an update on the links to show an icon for Apple Music. Nothing has been done.
It’s not totally gone, at least for me. It now shows up for me as “Also available in the iTunes Store”; if I were to click on it, it opens a prompt to open the iTunes Store in the Music app. (I’m on a Mac; I can’t speak for what happens on other operating systems.)
It might be doing that because I have an Apple Music account. The music.apple.com websites actually show me logged in and I can play music, just like if I was on iTunes. Which is actually kinda cool.