# \[WS\] iTunes

**URL:** https://community.mp3tag.de/t/ws-itunes/13478
**Category:** Web Sources Scripts
**Created:** [May 24, 2012, 10:05am UTC](https://community.mp3tag.de/t/ws-itunes/13478 "2012-05-24T10:05:22Z")
**Posts on this page:** 20
**Page:** 3

<div class="post-metadata">

### Author: ![Kareha](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@Kareha](https://community.mp3tag.de/u/Kareha)
#### Post date: [October 7, 2012, 11:14am UTC](https://community.mp3tag.de/t/ws-itunes/13478/41 "2012-10-07T11:14:58Z")

</div>

With regards to the album art only coming back as 100x100, maybe you could check out Album Art Downloader's iTunes cover script? That one always brings me 600x600 art whenever I use it, so maybe there's something you can use for this script?

![](https://community.mp3tag.de/uploads/default/original/2X/d/d5d900eb1c0b2ee0f8d4c3f139b6e29f2c377e2c.PNG)

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [October 7, 2012, 9:57pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/42 "2012-10-07T21:57:30Z")

</div>

> [@Kareha](#):
>
> With regards to the album art only coming back as 100x100, maybe you could check out Album Art Downloader's iTunes cover script? That one always brings me 600x600 art whenever I use it, so maybe there's something you can use for this script?

where is that album art downloader?

---

<div class="post-metadata">

### Author: ![Kareha](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@Kareha](https://community.mp3tag.de/u/Kareha)
#### Post date: [October 8, 2012, 11:41am UTC](https://community.mp3tag.de/t/ws-itunes/13478/43 "2012-10-08T11:41:42Z")

</div>

> [@pone](#):
>
> where is that album art downloader?

Here you go 🙂

[http://sourceforge.net/projects/album-art/](http://sourceforge.net/projects/album-art/)

The dev also posts on the Hydrogenaudio forums, here's the forum link:

[http://www.hydrogenaudio.org/forums/index....showtopic=57392](http://www.hydrogenaudio.org/forums/index.php?showtopic=57392)

---

<div class="post-metadata">

### Author: ![inis17](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/ecb155/32.png) [@inis17](https://community.mp3tag.de/u/inis17)
#### Post date: [October 23, 2012, 3:30pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/44 "2012-10-23T15:30:24Z")

</div>

Hi,  
is it just me who keeps getting attached error, or does it experience also someone else?

None of these URLs work:

## [BasedOn]=https://itunes.apple.com [IndexUrl]=https://itunes.apple.com/search?term=%s&entity=album&limit=100 [AlbumUrl]=https://itunes.apple.com/lookup?id=

[BasedOn]=http://itunes.apple.com  
[IndexUrl]=http://itunes.apple.com/search?term=%s&entity=album&limit=100  
[AlbumUrl]=http://itunes.apple.com/lookup?id=

Strange thing is, that if I put it into a browser and change %s to something, it works. Just http gets redirected to https

Thanks...

![](https://community.mp3tag.de/uploads/default/original/2X/7/74a65211cdfd78c99096af04e14e4a3b236a952d.png)

---

<div class="post-metadata">

### Author: ![inis17](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/ecb155/32.png) [@inis17](https://community.mp3tag.de/u/inis17)
#### Post date: [October 29, 2012, 4:24pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/45 "2012-10-29T16:24:56Z")

</div>

Forget my previous post... re-download helped, but don't know what went wrong anyway 😳

---

<div class="post-metadata">

### Author: ![cduve](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/13edae/32.png) [@cduve](https://community.mp3tag.de/u/cduve)
#### Post date: [November 7, 2012, 12:21pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/46 "2012-11-07T12:21:12Z")

</div>

Hi Pone, thank you for a great script!

I'm new to this scripting business so forgive me if this is very obvious, but with regard to the small artwork, would it be possible to do a string replace on the 'artworkUrl100' and replace 100x100 with 600x600??

I did a test with a couple of urls and manually changed them and they returned the bigger image...

As a matter of interest, where can I get info on developing these scripts? What language is it written in?

Thanks!

---

<div class="post-metadata">

### Author: ![cduve](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/13edae/32.png) [@cduve](https://community.mp3tag.de/u/cduve)
#### Post date: [November 7, 2012, 12:39pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/47 "2012-11-07T12:39:59Z")

</div>

I figured out the string replace...

For anyone who's interested, I added the following code:

```
sayregexp "(?<=\"artworkUrl100\":\").+?(?=\")" ", " "}"
regexpreplace "100x100" "600x600"

```

just before:

```
outputto "COVERURL"
sayregexp "(?<=\"artworkUrl100\":\").+?(?=\")" ", " "}"

```

Hope that helps someone...

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [November 7, 2012, 7:39pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/48 "2012-11-07T19:39:12Z")

</div>

QUOTE (cduve @ Nov 7 2012, 15:39) \<{POST\_SNAPBACK}\>

I figured out the string replace...

For anyone who's interested, I added the following code:

```
sayregexp "(?<=\"artworkUrl100\":\").+?(?=\")" ", " "}"
regexpreplace "100x100" "600x600"

```

just before:

```
outputto "COVERURL"
sayregexp "(?<=\"artworkUrl100\":\").+?(?=\")" ", " "}"

```

Hope that helps someone...

Great! Thank you for adding to this script. The 100x100 px cover has been a real handicap.  
I will put this into the script. Thank you very much.

Here is the official manual for writing web scripts:  
[https://docs.mp3tag.de/tag-sources](https://docs.mp3tag.de/tag-sources)  
And you will need a little knowledge of the Mp3tag Regex Language: [https://docs.mp3tag.de/actions/replace-regexp](https://docs.mp3tag.de/actions/replace-regexp)  
And there is the forum if you have questions.

---

<div class="post-metadata">

### Author: ![cduve](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/13edae/32.png) [@cduve](https://community.mp3tag.de/u/cduve)
#### Post date: [November 7, 2012, 9:12pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/49 "2012-11-07T21:12:09Z")

</div>

> [@pone](#):
>
> Great! Thank you for adding to this script. The 100x100 px cover has been a real handicap.  
> I will put this into the script. Thank you very much.
> 
> Here is the official manual for writing web scripts:  
> [https://docs.mp3tag.de/tag-sources](https://docs.mp3tag.de/tag-sources)  
> And you will need a little knowledge of the Mp3tag Regex Language: [https://docs.mp3tag.de/actions/replace-regexp](https://docs.mp3tag.de/actions/replace-regexp)  
> And there is the forum if you have questions.

No problem! Thank you for this script, I'm learning a lot from your hard work! Just getting stuck into your discogs mod its excellent!

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [December 31, 2012, 11:36am UTC](https://community.mp3tag.de/t/ws-itunes/13478/50 "2012-12-31T11:36:33Z")

</div>

Hi pone,

did you have the opportunity to look after the "double quotation mark" bug?

[Websource und doppeltes Anführungszeichen](https://community.mp3tag.de/t/14013/1)

I love you wonderful script but this bug annoys me every now and then, because in the case of double quotation marks everything gets cut of behind these.

Latest annoying example:  
Album: Living Country Blues USA Vol. 2 - Blues On Highway 61

Artist _James "Son" Thomas_ gets cut to _James_.

---

<div class="post-metadata">

### Author: ![Scary674](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/5daacb/32.png) [@Scary674](https://community.mp3tag.de/u/Scary674)
#### Post date: [July 28, 2013, 9:57am UTC](https://community.mp3tag.de/t/ws-itunes/13478/51 "2013-07-28T09:57:48Z")

</div>

what i am doing wrong? i added the code for bigger album cover art.. some post over me.. but mp3tag will still download and save covers in 100x100 ☹

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [July 28, 2013, 5:26pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/52 "2013-07-28T17:26:30Z")

</div>

Quotes problem fixed + bigger cover art:

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [July 29, 2013, 9:39am UTC](https://community.mp3tag.de/t/ws-itunes/13478/53 "2013-07-29T09:39:17Z")

</div>

> [@dano](#):
>
> Quotes problem fixed

Danke dano, dass Du Dich der Sache angenommen hast.

---

<div class="post-metadata">

### Author: ![marcusj0015](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@marcusj0015](https://community.mp3tag.de/u/marcusj0015)
#### Post date: [August 17, 2013, 7:08pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/54 "2013-08-17T19:08:38Z")

</div>

I'm trying to write an iTunes sources script that will only download the ArtistID, CollectionID, Year (and only leave the 4 digit year, so 6-12-2013 would become 2013) and most importantly the iTunes Explicit rating (for each individual song preferably) and the iTunesNorm tag.

so how do I do this?

---

<div class="post-metadata">

### Author: ![rajujauhar](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/e79b87/32.png) [@rajujauhar](https://community.mp3tag.de/u/rajujauhar)
#### Post date: [August 18, 2013, 8:25am UTC](https://community.mp3tag.de/t/ws-itunes/13478/55 "2013-08-18T08:25:03Z")

</div>

can anybody please provide a script fir itunes music video in which thumnails are atleast 600_600 or 500_500

---

<div class="post-metadata">

### Author: ![michelp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/54ee81/32.png) [@michelp](https://community.mp3tag.de/u/michelp)
#### Post date: [September 3, 2013, 2:48am UTC](https://community.mp3tag.de/t/ws-itunes/13478/56 "2013-09-03T02:48:21Z")

</div>

> [@dano](#):
>
> Quotes problem fixed + bigger cover art:

Good source script. Thanks a lot! But I found some album, in which the script doesn't fulfill correctly:  
[https://itunes.apple.com/us/album/hey-nah-n...ilk/id420243531](https://itunes.apple.com/us/album/hey-nah-neh-nah-remixes-milk/id420243531) (name of album: "Hey (Nah Neh Nah) [Remixes] {Milk & Sugar vs. Vaya Con Dios}") - in US (default script) and:  
[https://itunes.apple.com/ca/album/hey-nah-n...ilk/id420243531](https://itunes.apple.com/ca/album/hey-nah-neh-nah-remixes-milk/id420243531) - same in CA

Probably, a problem is in overflow of some fields? Please, check.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [September 5, 2013, 7:54pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/57 "2013-09-05T19:54:23Z")

</div>

I've fixed that issue.

[iTunes.zip](https://community.mp3tag.de/uploads/default/original/2X/3/35b6f608050d57c0cc48729436a9d40f4c9eff18.zip) (1.06 KB)

---

<div class="post-metadata">

### Author: ![michelp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/54ee81/32.png) [@michelp](https://community.mp3tag.de/u/michelp)
#### Post date: [September 6, 2013, 12:34am UTC](https://community.mp3tag.de/t/ws-itunes/13478/58 "2013-09-06T00:34:49Z")

</div>

> [@dano](#):
>
> I've fixed that issue.

You the best. Script works correctly. Thanks a lot!

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [October 24, 2013, 3:06pm UTC](https://community.mp3tag.de/t/ws-itunes/13478/59 "2013-10-24T15:06:09Z")

</div>

There is a set of 52 CDs, that I can't find with the itunes-script:  
[https://itunes.apple.com/de/album/abc-of-th....-1/id611412682](https://itunes.apple.com/de/album/abc-of-the-blues-vol.-1/id611412682)

Any idea why?

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [October 26, 2013, 7:40am UTC](https://community.mp3tag.de/t/ws-itunes/13478/60 "2013-10-26T07:40:34Z")

</div>

Yes. Itunes has different catalogs for different countrys. My script searches the US version of itunes. Your album is not available in the United States via itunes.

To change the script to the German itunes catalog, open the .src file and change " **US**" into " **DE**" in these two lines at the top of the script:

old lines for US catalog:

[IndexUrl]=http://itunes.apple.com/search?term=%s&entity=album&limit=100&country= **us**  
[AlbumUrl]=http://itunes.apple.com/lookup?country= **us** &id=

change into this for German catalog:

[IndexUrl]=http://itunes.apple.com/search?term=%s&entity=album&limit=100&country= **de**  
[AlbumUrl]=http://itunes.apple.com/lookup?country= **de** &id=

you can save different country versions of my script in different .src files

[Previous page](https://community.mp3tag.de/t/ws-itunes/13478.md?page=2)

[Next page](https://community.mp3tag.de/t/ws-itunes/13478.md?page=4)
