Skip to content

Commit de1958d

Browse files
authored
fix: config postprocessor template uses deprecated syntax (#249)
1 parent 1c8a122 commit de1958d

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

  • lib/html2rss/configs/cinemascore.com

lib/html2rss/configs/cinemascore.com/index.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@ selectors:
1010
selector: "title"
1111
post_process:
1212
- name: "template"
13-
string: "%s (%s) [Rated %s] (%s)"
14-
methods:
15-
- self
16-
- grade
17-
- mpaa_rating
18-
- year
13+
string: "%{self} (%{grade}) [Rated %{mpaa_rating}] (%{year})"
1914
grade:
2015
selector: "grade"
2116
movie_title:

0 commit comments

Comments
 (0)