We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 905ca2a commit 9aa87f0Copy full SHA for 9aa87f0
1 file changed
lib/html2rss/configs/imdb.com/ratings.yml
@@ -8,8 +8,11 @@ selectors:
8
title:
9
selector: ".ipc-title__text"
10
post_process:
11
- name: template
12
- string: 'Rated: "%{self}" %{user_rating}/10 [IMDb: %{global_rating}]'
+ - name: gsub
+ pattern: "/^(\\d+.)\\s/"
13
+ replacement: ""
14
+ - name: template
15
+ string: 'Rated: "%{self}" %{user_rating} [IMDb: %{global_rating}]'
16
link:
17
selector: "a.ipc-title-link-wrapper"
18
extractor: "href"
@@ -18,4 +21,8 @@ selectors:
21
global_rating:
19
22
selector: ".ipc-rating-star--imdb .ipc-rating-star--rating"
20
23
user_rating:
- selector: ".ipc-rating-star .ipc-rating-star--rating"
24
+ selector: ".dli-ratings-container .ipc-rating-star--otherUser span"
25
+ enclosure:
26
+ selector: ".ipc-image"
27
+ extractor: "attribute"
28
+ attribute: "src"
0 commit comments