CodyBerenson / PGMA-Modernized

An updated approach for Plex Gay Media Adult Agents for both Full Feature Films and Scenes
MIT License
131 stars 46 forks source link

[BUG]: IAFD Agent; and, All Agents not returning Actors Headshots #320

Open fourstix opened 2 weeks ago

fourstix commented 2 weeks ago

Mandatory

Sample file in log is named (Catalina) - Hot Details and is matching with the GEVI agent.

Describe the bug:

Actor headshots are no longer appearing. The searches in IAFD return response error code 403 (Forbidden).

Specific Agent(s) Causing the Issue: ## GEVI, AEBN, IAFD, etc.

Index Site URL(s) Attempting to Match:

https://gayeroticvideoindex.com/video/18371

Log Attached:

com.plexapp.agents.GEVI.log

Optional

Screenshot(s) with all nudity redacted:

Screenshot 2024-11-13 181421

Additional Context:

Log contains several messages like this for each actor:

2024-11-13 18:07:26,679 (7f520063eb38) : INFO (sandbox:19) - GEVI - ---------------------------------------------------------------------------------------------------- 2024-11-13 18:07:26,680 (7f520063eb38) : INFO (sandbox:19) - GEVI - UTILS :: Unmatched Cast Name 8 - Scott Mann/scottmann 2024-11-13 18:07:26,681 (7f520063eb38) : INFO (sandbox:19) - GEVI - UTILS :: Gay/Bisexual/Straight Cast xPath //table[@id="tblFem" or @id="tblMal"]/tbody/tr 2024-11-13 18:07:26,682 (7f520063eb38) : INFO (sandbox:19) - GEVI - UTILS :: Request URL https://www.iafd.com/ramesearch.asp?searchtype=comprehensive&searchstring=Scott+Mann 2024-11-13 18:07:26,693 (7f520063eb38) : DEBUG (networking:144) - Requesting 'https://www.iafd.com/ramesearch.asp?searchtype=comprehensive&searchstring=Scott+Mann' 2024-11-13 18:07:27,208 (7f520063eb38) : ERROR (networking:197) - Error opening URL 'https://www.iafd.com/ramesearch.asp?searchtype=comprehensive&searchstring=Scott+Mann' 2024-11-13 18:07:27,209 (7f520063eb38) : INFO (sandbox:19) - GEVI - UTILS :: Request Failed Try CFScrape 2024-11-13 18:07:27,760 (7f520063eb38) : ERROR (utils:5484) - GEVI - UTILS :: ❌ File: utils.py, Line: 5714, Function: updateMetadata -> getCast -> matchCast 2024-11-13 18:07:27,760 (7f520063eb38) : ERROR (utils:5485) - GEVI - UTILS :: Error:: Cannot Process IAFD Cast Search Results, Scott Mann: 'NoneType' object has no attribute 'xpath'

Desktop (please complete the following information):

CodyBerenson commented 1 week ago

@jph71 This is not the cloudflare issue. Your CFScrape fix continues to bypass the cloudflare 403 problem. IAFD has changed XPath. Thanks.

fourstix commented 1 week ago

Ah, good catch! I edited the bug description and removed the parts of the description where I blamed Cloudflare.

JPH71 commented 1 week ago

That makes it much easier to fix... I will try and get it sorted by the weekend xxx

On Thu, 14 Nov 2024, 15:45 fourstix, @.***> wrote:

Ah, good catch! I edited the bug description and removed the parts of the description where I blamed Cloudflare.

— Reply to this email directly, view it on GitHub https://github.com/CodyBerenson/PGMA-Modernized/issues/320#issuecomment-2476538953, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKI3AKOUBBVCII5PTHJ4YDD2ASZSJAVCNFSM6AAAAABRXT2HOKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZWGUZTQOJVGM . You are receiving this because you were mentioned.Message ID: @.***>

dimitrimahiro commented 1 day ago

@JPH71 did you find what's causing the error?

JPH71 commented 1 day ago

It's a 403 error... I am looking at using selenium to sort it out...

On Tue, 26 Nov 2024, 14:16 dimitrimahiro, @.***> wrote:

@JPH71 https://github.com/JPH71 did you find what's causing the error?

— Reply to this email directly, view it on GitHub https://github.com/CodyBerenson/PGMA-Modernized/issues/320#issuecomment-2500776824, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKI3AKNT753EQOCRKS2IFUT2CRYCLAVCNFSM6AAAAABRXT2HOKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBQG43TMOBSGQ . You are receiving this because you were mentioned.Message ID: @.***>