CodyBerenson / PGMA-Modernized

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

[BUG]: Release date no longer optional in file name #271

Closed fourstix closed 1 year ago

fourstix commented 1 year ago

Mandatory

Describe the bug:

I'm not able to scrape after installing the latest version of agents. I tend not to use release dates on the file name. A file name without a date is causing the agents to fail to update after scraping. Previously, the release date in the filename was optional, and the agents would not fail if it was not present.

Specific Agent(s) Causing the Issue:

GEVI, AEBN, GayHotMovies, GayEmpire (These are all four of the agents that I use.)

Index Site URL(s) Attempting to Match:

https://gayeroticvideoindex.com/video/56188

Log Attached:

com.plexapp.agents.GEVI.log

Optional

Name of file: (Knightbreeders) - Raw Mandingo Hole Flooders.mp4

After attempting to scrap, all four agent logs have error information similar to this copied from the log for GEVI: 2023-08-04 13:25:42,496 (7fe54a031b38) : INFO (sandbox:19) - GEVI - UTILS :: Access Site URL Link 2023-08-04 13:25:42,520 (7fe54a031b38) : DEBUG (networking:139) - Fetching 'https://www.gayeroticvideoindex.com/video/56188' from the HTTP cache 2023-08-04 13:25:42,584 (7fe54a031b38) : ERROR (utils:5444) - GEVI - UTILS :: ❌ File: utils.py, Line: 6542, Function: _update -> update -> updateMetadata 2023-08-04 13:25:42,585 (7fe54a031b38) : ERROR (utils:5445) - GEVI - UTILS :: Error Accessing Site URL page: 'ReleaseDate' 2023-08-04 13:25:42,585 (7fe54a031b38) : INFO (sandbox:19) - GEVI - **** 2023-08-04 13:25:42,586 (7fe54a031b38) : INFO (sandbox:19) - GEVI - UPDATE:: >> GEVI: Finished Update Routine << 2023-08-04 13:25:42,587 (7fe54a031b38) : INFO (sandbox:19) - GEVI - UPDATE:: >> (Knightbreeders) - Raw Mandingo Hole Flooders (0) << 2023-08-04 13:25:42,587 (7fe54a031b38) : INFO (sandbox:19) - GEVI - UPDATE:: ** >> https://www.gayeroticvideoindex.com/video/56188 << ** 2023-08-04 13:25:42,588 (7fe54a031b38) : INFO (sandbox:19) - GEVI - UPDATE:: *** >> Failed << ** 2023-08-04 13:25:42,589 (7fe54a031b38) : INFO (sandbox:19) - GEVI - **** 2023-08-04 13:25:42,593 (7fe54a031b38) : DEBUG (model:229) - Serializing to /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Metadata/Movies/7/3d5d50755ca064e8bb2abf3ef488be47ecaf1a4.bundle/Contents/com.plexapp.agents.GEVI/Info.xml 2023-08-04 13:25:42,596 (7fe54a031b38) : DEBUG (runtime:88) - Sending packed state data (104 bytes) 2023-08-04 13:25:42,596 (7fe54a031b38) : DEBUG (runtime:924) - Response: [200] str, 16 bytes

Screenshot(s) with all nudity redacted: ## (N/A)

Additional Context:

The file named (Knightbreeders) - Raw Mandingo Hole Flooders.mp4 FAILS after scraping Renaming the file to (Knightbreeders) - Raw Mandingo Hole Flooders (2016).mp4 will update SUCCESSFULLY after scraping.

Desktop (please complete the following information):

JPH71 commented 1 year ago

I will l99k at this tomorrow... thanks for pointing it out

On Fri, 4 Aug 2023, 19:46 fourstix, @.***> wrote:

Mandatory Describe the bug: ## I'm not able to scrape after installing the latest version of agents. I tend not to use release dates on the file name. A file name without a date is causing the agents to fail to update after scraping. Previously, the release date in the filename was optional, and the agents would not fail if it was not present. Specific Agent(s) Causing the Issue: ## GEVI, AEBN, GayHotMovies, GayEmpire (These are all four of the agents that I use.) Index Site URL(s) Attempting to Match: ## https://gayeroticvideoindex.com/video/56188 Log Attached:

com.plexapp.agents.GEVI.log https://github.com/CodyBerenson/PGMA-Modernized/files/12263278/com.plexapp.agents.GEVI.log Optional

Name of file: (Knightbreeders) - Raw Mandingo Hole Flooders.mp4

After attempting to scrap, all four agent logs have error information similar to this copied from the log for GEVI: 2023-08-04 13:25:42,496 (7fe54a031b38) : INFO (sandbox:19) - GEVI - UTILS :: Access Site URL Link 2023-08-04 13:25:42,520 (7fe54a031b38) : DEBUG (networking:139) - Fetching 'https://www.gayeroticvideoindex.com/video/56188' from the HTTP cache 2023-08-04 13:25:42,584 (7fe54a031b38) : ERROR (utils:5444) - GEVI - UTILS :: ❌ File: utils.py, Line: 6542, Function: _update -> update -> updateMetadata 2023-08-04 13:25:42,585 (7fe54a031b38) : ERROR (utils:5445) - GEVI - UTILS :: Error Accessing Site URL page: 'ReleaseDate' 2023-08-04 13:25:42,585 (7fe54a031b38) : INFO (sandbox:19) - GEVI -


2023-08-04 13:25:42,586 (7fe54a031b38) : INFO (sandbox:19) - GEVI - UPDATE:: >> GEVI: Finished Update Routine << 2023-08-04 13:25:42,587 (7fe54a031b38) : INFO (sandbox:19) - GEVI - UPDATE:: >> (Knightbreeders) - Raw Mandingo Hole Flooders (0) << 2023-08-04 13:25:42,587 (7fe54a031b38) : INFO (sandbox:19) - GEVI - UPDATE:: ** >> https://www.gayeroticvideoindex.com/video/56188 <<


2023-08-04 13:25:42,588 (7fe54a031b38) : INFO (sandbox:19) - GEVI - UPDATE:: *** >> Failed << ** 2023-08-04 13:25:42,589 (7fe54a031b38) : INFO (sandbox:19) - GEVI -


2023-08-04 13:25:42,593 (7fe54a031b38) : DEBUG (model:229) - Serializing to /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Metadata/Movies/7/3d5d50755ca064e8bb2abf3ef488be47ecaf1a4.bundle/Contents/com.plexapp.agents.GEVI/Info.xml 2023-08-04 13:25:42,596 (7fe54a031b38) : DEBUG (runtime:88) - Sending packed state data (104 bytes) 2023-08-04 13:25:42,596 (7fe54a031b38) : DEBUG (runtime:924) - Response: [200] str, 16 bytes Screenshot(s) with all nudity redacted: ## (N/A) Additional Context:

The file named (Knightbreeders) - Raw Mandingo Hole Flooders.mp4 FAILS after scraping Renaming the file to (Knightbreeders) - Raw Mandingo Hole Flooders (2016).mp4 will update SUCCESSFULLY after scraping. Desktop (please complete the following information):

  • OS: [e.g. iOS] QNAP QTS 5.0.1.2425 (Based on Linux Ubuntu)
  • Browser [e.g. chrome, safari] Firefox
  • Version [e.g. 22] Plex Media Server 1.32.25

— Reply to this email directly, view it on GitHub https://github.com/CodyBerenson/PGMA-Modernized/issues/271, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKI3AKJF3JU7A74RZ25IEFTXTUYRBANCNFSM6AAAAAA3EQHVDM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

JPH71 commented 1 year ago

Cody had picked up on this - I have just corrected this.... Code will be with Cody soon to upload to the repository... As the change was in utils.py - please download all agents....

JPH71 commented 1 year ago

After testing - please close issue...