Skip to content

PH tagged stars breaks metadata scrape #246

@topKoala1588

Description

@topKoala1588

Describe the bug
On Pornhub, the button for tagged pornstars has been reworked so that the command

string actorName = actorLink.Attributes["data-mxptext"].Value,
                        actorPhotoURL = actorLink.SelectSingleText(".//img[@class='avatar']/@src");

in SitePornhub.cs does not work anymore as the data-mxptext is no longer available. This causes the metadata scrape for any video with a tagged pornstar to return the error shown in the log below. Conversely any video that does not have tagged stars will scrape correctly.

Include

  1. Jellyfin v10.8.12
  2. Plugin v2.7.0.47
  3. Broken Scene (with tagged stars) - https://www.pornhub.com/view_video.php?viewkey=64529bd2448a3
  4. Working Scene (w/out tagged stars) - https://www.pornhub.com/view_video.php?viewkey=6408ad4be62a8
  5. Log File
[01:17:14] [INF] [64] PhoenixAdult.Plugin: searchInfo.Name: POV Cute Teen Fucks you on Tropical Beach
[01:17:14] [INF] [64] PhoenixAdult.Plugin: newTitle: Pornhub POV Cute Teen Fucks you on Tropical Beach
[01:17:14] [INF] [64] PhoenixAdult.Plugin: site: 27:0 (Pornhub)
[01:17:14] [INF] [64] PhoenixAdult.Plugin: searchTitle: POV Cute Teen Fucks You On Tropical Beach
[01:17:14] [INF] [64] PhoenixAdult.Plugin: searchDate:
[01:17:14] [INF] [64] PhoenixAdult.Plugin: provider: PhoenixAdult.Sites.SitePornhub
[01:17:16] [INF] [31] PhoenixAdult.Plugin: PhoenixAdult ID: 27#0#2bG8xeUEeKp4ZHspsK4pfKWQGWm7J85zv2TQapSQPd4CrJiKVC6
[01:17:17] [ERR] [31] PhoenixAdult.Plugin: Update error: "System.NullReferenceException: Object reference not set to an instance of an object.
   at PhoenixAdult.Sites.SitePornhub.Update(Int32[] siteNum, String[] sceneID, CancellationToken cancellationToken)
   at PhoenixAdult.Providers.MovieProvider.GetMetadata(MovieInfo info, CancellationToken cancellationToken)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions