-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsources.yml
49 lines (43 loc) · 1.25 KB
/
sources.yml
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
43
44
45
46
47
48
49
aliases:
- &imbd_selectors
items_selector: '[itemtype="http://schema.org/Movie"]'
title_selector: '[itemprop="name"]'
genre_selector: '[itemprop="genre"]'
image_selector: '[itemprop="image"]'
synopsis_selector: '[itemprop="description"]'
- &imdb_list_selectors
items_selector: '.list.detail .list_item'
title_selector: '.info b'
genre_selector: '#NO_GENRE'
image_selector: '.image img'
synopsis_selector: '.item_description'
sources:
- source: horror_movies
type: video
url: http://www.imdb.com/list/0Z3lzLBAD6c/
<<: *imdb_list_selectors
- source: harry_potter_collection
type: video
url: http://www.imdb.com/list/XZ_crv3u-MM/
<<: *imdb_list_selectors
- source: this_week
type: video
url: http://www.imdb.com/movies-in-theaters/
<<: *imbd_selectors
- source: comming_soon
type: video
url: http://www.imdb.com/movies-coming-soon/
<<: *imbd_selectors
- source: top_100_brazilian_musics
type: audio
url: http://www.hot100brasil.com/chtsinglesb.html
items_selector: 'tr[height=19]'
name_selector:
selector: 'td'
position: 4
artist_selector:
selector: 'td'
position: 5
label_selector:
selector: 'td'
position: 6