[extractor/generic] Support relative URIs in _parse_xspf
[youtube-dl] / test / testdata / xspf / foo_xspf.xspf
1 <?xml version="1.0" encoding="UTF-8"?>
2 <playlist version="1" xmlns="http://xspf.org/ns/0/">
3     <date>2018-03-09T18:01:43Z</date>
4     <trackList>
5         <track>
6             <location>cd1/track%201.mp3</location>
7             <title>Pandemonium</title>
8             <creator>Foilverb</creator>
9             <annotation>Visit http://bigbrother404.bandcamp.com</annotation>
10             <album>Pandemonium EP</album>
11             <trackNum>1</trackNum>
12             <duration>202416</duration>
13         </track>
14         <track>
15             <location>../%E3%83%88%E3%83%A9%E3%83%83%E3%82%AF%E3%80%80%EF%BC%92.mp3</location>
16             <title>Final Cartridge (Nichico Twelve Remix)</title>
17             <annotation>Visit http://bigbrother404.bandcamp.com</annotation>
18             <creator>Foilverb</creator>
19             <album>Pandemonium EP</album>
20             <trackNum>2</trackNum>
21             <duration>255857</duration>
22         </track>
23         <track>
24             <location>track3.mp3</location>
25             <location>https://example.com/track3.mp3</location>
26             <title>Rebuilding Nightingale</title>
27             <annotation>Visit http://bigbrother404.bandcamp.com</annotation>
28             <creator>Foilverb</creator>
29             <album>Pandemonium EP</album>
30             <trackNum>3</trackNum>
31             <duration>287915</duration>
32         </track>
33     </trackList>
34 </playlist>