Skip to content

Commit

Permalink
Merge pull request #5 from xsga/v5.0.1
Browse files Browse the repository at this point in the history
Fix casting error
  • Loading branch information
xsga authored May 25, 2024
2 parents d4b73dd + f30658d commit bc90725
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 bc90725

Please sign in to comment.