Skip to content

Commit

Permalink
response to Filmweb changing presentation of years and poster links
Browse files Browse the repository at this point in the history
  • Loading branch information
Noiredd committed May 31, 2020
1 parent 6f38ef2 commit 261089d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filmatyk/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit 261089d

Please sign in to comment.