From 261089d9669fb48d260c09814fd9bae7ea897e81 Mon Sep 17 00:00:00 2001 From: Noiredd Date: Sun, 31 May 2020 22:13:25 +0200 Subject: [PATCH] response to Filmweb changing presentation of years and poster links --- filmatyk/containers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filmatyk/containers.py b/filmatyk/containers.py index e06a498..8e9e226 100644 --- a/filmatyk/containers.py +++ b/filmatyk/containers.py @@ -224,7 +224,7 @@ class attributes. These are used by the API to construct effective parsing year = Blueprint( name='Rok', colwidth=35, - parsing={'tag':'span', 'class':'filmPreview__year', 'text':True, 'list':False, 'type':int} + parsing={'tag':'div', 'class':'filmPreview__year', 'text':True, 'list':False, 'type':int} ) link = Blueprint( name='URL', @@ -234,7 +234,7 @@ class attributes. These are used by the API to construct effective parsing imglink = Blueprint( name='ImgURL', colwidth=200, - parsing={'tag':'img', 'class':'filmPoster__image', 'text':False, 'attr':'data-src'} + parsing={'tag':'div', 'class':'poster--auto', 'text':False, 'attr':'data-image'} ) fwRating = Blueprint( name='Oc. FW',