File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 $country: Country!,
1616 $language: Language!,
1717 $first: Int!,
18- $format: ImageFormat,
18+ $formatPoster: ImageFormat,
19+ $formatIcon: ImageFormat,
1920 $profile: PosterProfile,
2021 $backdropProfile: BackdropProfile,
2122 $filter: OfferFilter!,
5354 imdbId
5455 __typename
5556 }
56- posterUrl(profile: $profile, format: $format )
57- backdrops(profile: $backdropProfile, format: $format ) {
57+ posterUrl(profile: $profile, format: $formatPoster )
58+ backdrops(profile: $backdropProfile, format: $formatPoster ) {
5859 backdropUrl
5960 __typename
6061 }
7273 packageId
7374 clearName
7475 technicalName
75- icon(profile: S100)
76+ icon(profile: S100, format: $formatIcon )
7677 __typename
7778 }
7879 id
@@ -145,7 +146,8 @@ def prepare_search_request(
145146 "searchTitlesFilter" : {"searchQuery" : title },
146147 "language" : language ,
147148 "country" : country .upper (),
148- "format" : "JPG" ,
149+ "formatPoster" : "JPG" ,
150+ "formatIcon" : "PNG" ,
149151 "profile" : "S718" ,
150152 "backdropProfile" : "S1920" ,
151153 "filter" : {"bestOnly" : best_only },
You can’t perform that action at this time.
0 commit comments