Skip to content

Commit 261089d

Browse files
committed
response to Filmweb changing presentation of years and poster links
1 parent 6f38ef2 commit 261089d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filmatyk/containers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class attributes. These are used by the API to construct effective parsing
224224
year = Blueprint(
225225
name='Rok',
226226
colwidth=35,
227-
parsing={'tag':'span', 'class':'filmPreview__year', 'text':True, 'list':False, 'type':int}
227+
parsing={'tag':'div', 'class':'filmPreview__year', 'text':True, 'list':False, 'type':int}
228228
)
229229
link = Blueprint(
230230
name='URL',
@@ -234,7 +234,7 @@ class attributes. These are used by the API to construct effective parsing
234234
imglink = Blueprint(
235235
name='ImgURL',
236236
colwidth=200,
237-
parsing={'tag':'img', 'class':'filmPoster__image', 'text':False, 'attr':'data-src'}
237+
parsing={'tag':'div', 'class':'poster--auto', 'text':False, 'attr':'data-image'}
238238
)
239239
fwRating = Blueprint(
240240
name='Oc. FW',

0 commit comments

Comments
 (0)