blob: 5d85b9de5ccc9aaef237c085a18772bced2ff0e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<?xml version="1.0" encoding="UTF-8"?>
<scraper framework="1.0" date="2009-05-22" name="MTV" content="musicvideos" thumb="mtv.png" language="en">
<CreateSearchUrl dest="3">
<RegExp input="$$1" output="<url>http://api.mtvnservices.com/1/video/search/?term=\1</url>" dest="3">
<expression noclean="1"></expression>
</RegExp>
</CreateSearchUrl>
<GetSearchResults dest="8">
<RegExp input="$$5" output="<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?><results>\1</results>" dest="8">
<RegExp input="$$1" output="<entity><title>\1 - \2</title><url>\4</url></entity>" dest="5">
<expression noclean="1" repeat="yes"><entry>.*?<content>(.*?) \| (.*?) \| (.*?)</content>.*?media:player url="([^"]*)"/></expression>
</RegExp>
<expression noclean="1"></expression>
</RegExp>
</GetSearchResults>
<GetDetails dest="3">
<RegExp input="$$5" output="<details>\1</details>" dest="3">
<RegExp input="$$1" output="<title>\1</title>" dest="5">
<expression trim="1" noclean="1"><meta name="mtv_vt" content="([^"]*)"</expression>
</RegExp>
<RegExp input="$$1" output="<artist>\1</artist>" dest="5+">
<expression trim="1" noclean="1"><meta name="mtv_an" content="([^"]*)"</expression>
</RegExp>
<RegExp input="$$1" output="<album>\1</album>" dest="5+">
<expression trim="1" noclean="1"><meta name="mtv_at" content="([^"]*)"</expression>
</RegExp>
<RegExp input="$$1" output="<studio>\1</studio>" dest="5+">
<expression trim="1" noclean="1"><strong>Label</strong> ([^<]*)</li></expression>
</RegExp>
<RegExp input="$$1" output="<year>\1</year>" dest="5+">
<expression><meta name="content_create_date" content="([0-9]*)-[^"]*"</expression>
</RegExp>
<RegExp input="$$1" output="<director>\1</director>" dest="5+">
<expression trim="1" noclean="1"><meta name="mtv_vd" content="([^"]*)"</expression>
</RegExp>
<RegExp input="$$1" output="<thumb>http://www.mtv.com\2.jpg</thumb>" dest="5+">
<expression noclean="1">"thumbnail"([^"]*)content="([^"]*)\.jpg</expression>
</RegExp>
<expression noclean="1"></expression>
</RegExp>
</GetDetails>
</scraper>
|