Skip to content

Commit

Permalink
Fix casting error
Browse files Browse the repository at this point in the history
  • Loading branch information
xsga committed May 25, 2024
1 parent d4b73dd commit f30658d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Xsga/FilmAffinityApi/Business/Parser/XpathCons.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class XpathCons
*
* @access public
*/
public const FILM_VARIOUS = "//dl[@class = 'movie-info']/dd[not(@class) and not(@itemprop)]";
public const FILM_VARIOUS = "//dd[not(@class) and not(@itemprop)]";

/**
* XPath query to get film title.
Expand Down Expand Up @@ -74,7 +74,7 @@ final class XpathCons
*
* @access public
*/
public const FILM_ACTORS = "//dd[@class = 'card-cast']/div[@class = 'credits']/span[@itemprop = 'actor']/a[@itemprop = 'url']/span[@itemprop = 'name']";
public const FILM_ACTORS = "//li[@itemprop = 'actor']";

/**
* XPath query to get film producers.
Expand Down

0 comments on commit f30658d

Please sign in to comment.