@@ -72,8 +72,15 @@ public function film(string $film, array $options = []): array
7272 // Add all film data to response $store
7373 $ response ->add ("id " , $ film );
7474 $ response ->add ("title " , $ htmlPieces ->get ($ page , "title " ));
75- $ response ->add ("length " , $ htmlPieces ->get ($ page , "length " ));
7675 $ response ->add ("year " , $ htmlPieces ->get ($ page , "year " ));
76+ $ response ->add ("length " , $ htmlPieces ->get ($ page , "length " ));
77+ $ response ->add ("plot " , $ htmlPieces ->get ($ page , "plot " ));
78+ $ response ->add ("rating " , $ htmlPieces ->get ($ page , "rating " ));
79+ $ response ->add ("rating_votes " , $ htmlPieces ->get ($ page , "rating_votes " ));
80+ $ response ->add ("poster " , $ htmlPieces ->get ($ page , "poster " ));
81+ $ response ->add ("trailer " , $ htmlPieces ->get ($ page , "trailer " ));
82+ $ response ->add ("cast " , $ htmlPieces ->get ($ page , "cast " ));
83+ $ response ->add ("technical_specs " , $ htmlPieces ->get ($ page , "technical_specs " ));
7784
7885 // Return the response $store
7986 return $ response ->return ();
0 commit comments