Huge refactoring

Added person info provider
Added person image provider
Added trailers fetching
This commit is contained in:
PingWin committed 2021-05-22 22:21:08 +00:00
1 parent 35ce5536be
commit fce88168e8
43 files changed
+4381 -540

No files matched your search

@@ -0,0 +1,47 @@
version: VCR.net 1.0.0
httpInteractions:
- request:
uri: https://kinopoiskapiunofficial.tech/api/v2.1/films/1445243?append_to_response=BUDGET&append_to_response=REVIEW&append_to_response=RATING&append_to_response=POSTERS
method: GET
headers:
Accept:
- application/json
X-API-KEY:
- 85d30ae5-d875-4c5f-900d-8e37bb20625e
response:
status:
code: 200
message: ''
headers:
Server:
- nginx/1.18.0
- (Ubuntu)
Date:
- Sat, 22 May 2021 19:08:47 GMT
Transfer-Encoding:
- chunked
Connection:
- keep-alive
Vary:
- Origin
- Access-Control-Request-Method
- Access-Control-Request-Headers
X-Content-Type-Options:
- nosniff
X-XSS-Protection:
- 1; mode=block
Cache-Control:
- no-store, must-revalidate, no-cache, max-age=0
Pragma:
- no-cache
X-Frame-Options:
- DENY
Content-Type:
- application/json
Expires:
- 0
body:
encoding: ''
string: |-
{"data":{"filmId":1445243,"nameRu":"Будь моим Кириллом","nameEn":null,"webUrl":"http://www.kinopoisk.ru/film/1445243/","posterUrl":"https://kinopoiskapiunofficial.tech/images/posters/kp/1445243.jpg","posterUrlPreview":"https://kinopoiskapiunofficial.tech/images/posters/kp_small/1445243.jpg","year":"2021","filmLength":"1:36","slogan":null,"description":"Неуверенная в себе девушка Саша врет семье, что встречается с красавчиком Кириллом, хотя он — всего лишь ее тренер по бегу, с которым она боится даже заговорить. Муж сестры Паша знает правду, но у него и своих проблем хватает — у них с женой уже год не было секса. Записавшись вместе на беготерапию, Саша и Паша решают, что смогут убежать от проблем вместе.","type":"FILM","ratingMpaa":null,"ratingAgeLimits":0,"premiereRu":"2021-04-08","distributors":"Каропрокат","premiereWorld":null,"premiereDigital":null,"premiereWorldCountry":null,"premiereDvd":null,"premiereBluRay":null,"distributorRelease":null,"countries":[{"country":"Россия"}],"genres":[{"genre":"комедия"}],"facts":[],"seasons":[]},"externalId":{"imdbId":null},"rating":{"rating":6.3,"ratingVoteCount":1055,"ratingImdb":0.0,"ratingImdbVoteCount":0,"ratingFilmCritics":null,"ratingFilmCriticsVoteCount":0,"ratingAwait":null,"ratingAwaitCount":0,"ratingRfCritics":"‒","ratingRfCriticsVoteCount":1},"budget":{"grossRu":199656,"grossUsa":0,"grossWorld":0,"budget":null,"marketing":0},"review":{"reviewsCount":0,"ratingGoodReview":null,"ratingGoodReviewVoteCount":0}}
httpVersion: 1.1