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]: Film scrapers not working (AEBN, GEVI, GayEmpire, GayHotMovies) #272

Closed vampirelayer closed 1 year ago

vampirelayer commented 1 year ago

Mandatory

Describe the bug:

I just downloaded the latest scrapers to test. All four scrapers stopped at this Critical error:

2023-08-06 12:32:46,759 (16e377000) : CRITICAL (agentkit:1018) - Exception in the search function of agent named 'GayHotMovies (IAFD)', called with keyword arguments {'id': '57424', 'guid': 'com.plexapp.agents.GayAdultFilms://57424?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.GayAdultFilms', 'parentID': None} (most recent call last): File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-91e1e2e2c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1011, in _search agent.search(*f_args, **f_kwargs) File "/Users/duchess/Library/Application Support/Plex Media Server/Plug-ins/GayHotMovies.bundle/Contents/Code/__init__.py", line 119, in search AGENTDICT = copy.deepcopy(utils.setupAgentVariables(media)) File "/Users/duchess/Library/Application Support/Plex Media Server/Plug-ins/GayHotMovies.bundle/Contents/Code/utils.py", line 7606, in setupAgentVariables pass File "/Applications/Plex Media Server.app/Contents/Resources/Python/python27.zip/posixpath.py", line 68, in join if b.startswith('/'): AttributeError: 'NoneType' object has no attribute 'startswith'

Specific Agent(s) Causing the Issue:

Index Site URL(s) Attempting to Match:

https://gayeroticvideoindex.com/video/2000

Log Attached:

com.plexapp.agents.GayHotMovies.log com.plexapp.agents.GayEmpire.log com.plexapp.agents.AEBN.log com.plexapp.agents.GEVI.log

Optional

Screenshot(s) with all nudity redacted:

image

Additional Context:

Desktop (please complete the following information):

JPH71 commented 1 year ago

Could you try saving the preferences and see if that sorts it out... As i have scraped over 200 titles using GEVI with no issues...

Also i have removes one of the preferences...

I will look at this later today...

Jason x

On Sun, 6 Aug 2023, 06:38 Xtian Hog, @.***> wrote:

Mandatory Describe the bug:

I just downloaded the latest scrapers to test. All four scrapers stopped at this Critical error:

2023-08-06 12:32:46,759 (16e377000) : CRITICAL (agentkit:1018) - Exception in the search function of agent named 'GayHotMovies (IAFD)', called with keyword arguments {'id': '57424', 'guid': 'com.plexapp.agents.GayAdultFilms://57424?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.GayAdultFilms', 'parentID': None} (most recent call last): File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-91e1e2e2c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1011, in _search agent.search(*f_args, **f_kwargs) File "/Users/duchess/Library/Application Support/Plex Media Server/Plug-ins/GayHotMovies.bundle/Contents/Code/init.py", line 119, in search AGENTDICT = copy.deepcopy(utils.setupAgentVariables(media)) File "/Users/duchess/Library/Application Support/Plex Media Server/Plug-ins/GayHotMovies.bundle/Contents/Code/utils.py", line 7606, in setupAgentVariables pass File "/Applications/Plex Media Server.app/Contents/Resources/Python/python27.zip/posixpath.py", line 68, in join if b.startswith('/'): AttributeError: 'NoneType' object has no attribute 'startswith' Specific Agent(s) Causing the Issue:

  • AEBN
  • GEVI
  • GayEmpire
  • GayHotMovies

Index Site URL(s) Attempting to Match:

https://gayeroticvideoindex.com/video/2000 Log Attached:

com.plexapp.agents.GayHotMovies.log https://github.com/CodyBerenson/PGMA-Modernized/files/12268705/com.plexapp.agents.GayHotMovies.log com.plexapp.agents.GayEmpire.log https://github.com/CodyBerenson/PGMA-Modernized/files/12268706/com.plexapp.agents.GayEmpire.log com.plexapp.agents.AEBN.log https://github.com/CodyBerenson/PGMA-Modernized/files/12268707/com.plexapp.agents.AEBN.log com.plexapp.agents.GEVI.log https://github.com/CodyBerenson/PGMA-Modernized/files/12268708/com.plexapp.agents.GEVI.log Optional Screenshot(s) with all nudity redacted:

[image: image] https://user-images.githubusercontent.com/81353722/258621681-6a0b6c1b-236c-4be6-afb4-cf85070765fb.png Additional Context: Desktop (please complete the following information):

  • OS: MacOS Ventura 13.4.1(c)
  • Browser: N.A. as I'm using the native Plex app for Mac
  • Version 1.75.0.3920-8b50876d

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

JPH71 commented 1 year ago

Could you send me the whole log file, if you don't mind. Have you saved the preferences then restarted Plex Media Server??

Cheers

Jason x

On Sun, 6 Aug 2023 at 07:06, Jason Hudson @.***> wrote:

Could you try saving the preferences and see if that sorts it out... As i have scraped over 200 titles using GEVI with no issues...

Also i have removes one of the preferences...

I will look at this later today...

Jason x

On Sun, 6 Aug 2023, 06:38 Xtian Hog, @.***> wrote:

Mandatory Describe the bug:

I just downloaded the latest scrapers to test. All four scrapers stopped at this Critical error:

2023-08-06 12:32:46,759 (16e377000) : CRITICAL (agentkit:1018) - Exception in the search function of agent named 'GayHotMovies (IAFD)', called with keyword arguments {'id': '57424', 'guid': 'com.plexapp.agents.GayAdultFilms://57424?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.GayAdultFilms', 'parentID': None} (most recent call last): File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-91e1e2e2c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1011, in _search agent.search(*f_args, **f_kwargs) File "/Users/duchess/Library/Application Support/Plex Media Server/Plug-ins/GayHotMovies.bundle/Contents/Code/init.py", line 119, in search AGENTDICT = copy.deepcopy(utils.setupAgentVariables(media)) File "/Users/duchess/Library/Application Support/Plex Media Server/Plug-ins/GayHotMovies.bundle/Contents/Code/utils.py", line 7606, in setupAgentVariables pass File "/Applications/Plex Media Server.app/Contents/Resources/Python/python27.zip/posixpath.py", line 68, in join if b.startswith('/'): AttributeError: 'NoneType' object has no attribute 'startswith' Specific Agent(s) Causing the Issue:

  • AEBN
  • GEVI
  • GayEmpire
  • GayHotMovies

Index Site URL(s) Attempting to Match:

https://gayeroticvideoindex.com/video/2000 Log Attached:

com.plexapp.agents.GayHotMovies.log https://github.com/CodyBerenson/PGMA-Modernized/files/12268705/com.plexapp.agents.GayHotMovies.log com.plexapp.agents.GayEmpire.log https://github.com/CodyBerenson/PGMA-Modernized/files/12268706/com.plexapp.agents.GayEmpire.log com.plexapp.agents.AEBN.log https://github.com/CodyBerenson/PGMA-Modernized/files/12268707/com.plexapp.agents.AEBN.log com.plexapp.agents.GEVI.log https://github.com/CodyBerenson/PGMA-Modernized/files/12268708/com.plexapp.agents.GEVI.log Optional Screenshot(s) with all nudity redacted:

[image: image] https://user-images.githubusercontent.com/81353722/258621681-6a0b6c1b-236c-4be6-afb4-cf85070765fb.png Additional Context: Desktop (please complete the following information):

  • OS: MacOS Ventura 13.4.1(c)
  • Browser: N.A. as I'm using the native Plex app for Mac
  • Version 1.75.0.3920-8b50876d

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

vampirelayer commented 1 year ago

I thought I attached the entire logs already, see bug report? And what preferences do you want me to try saving?

JPH71 commented 1 year ago

The agent preferences....

On Mon, 7 Aug 2023, 14:46 Xtian Hog, @.***> wrote:

I thought I attached the entire logs already, see bug report? And what preferences do you want me to try saving?

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

JPH71 commented 1 year ago

This will be the place where you choose whether to have collections or not... etc

On Mon, 7 Aug 2023, 17:13 Jason Hudson, @.***> wrote:

The agent preferences....

On Mon, 7 Aug 2023, 14:46 Xtian Hog, @.***> wrote:

I thought I attached the entire logs already, see bug report? And what preferences do you want me to try saving?

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

JPH71 commented 1 year ago

I was having a senior moment in regards to the logs...

On Mon, 7 Aug 2023, 17:14 Jason Hudson, @.***> wrote:

This will be the place where you choose whether to have collections or not... etc

On Mon, 7 Aug 2023, 17:13 Jason Hudson, @.***> wrote:

The agent preferences....

On Mon, 7 Aug 2023, 14:46 Xtian Hog, @.***> wrote:

I thought I attached the entire logs already, see bug report? And what preferences do you want me to try saving?

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

vampirelayer commented 1 year ago

This will be the place where you choose whether to have collections or not... etc

No love, I saved GEVI preferences.

JPH71 commented 1 year ago

Have you restarted the plex media server yet?

Try saving again then restarting...

The preferences always seem to respond the famous plex dance..

Once done refresh metadata for one film and send the logs...

On Wed, 9 Aug 2023, 17:18 Xtian Hog, @.***> wrote:

This will be the place where you choose whether to have collections or not... etc … <#m-7382245371068004073>

No love, I saved GEVI preferences.

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

JPH71 commented 1 year ago

Sorry for quoting the obvious but time and time again I have also had this issue... and the saving 0references and more importantly exiting then restarting plex media server has solved this issue...

Cheers

Jason x

On Wed, 9 Aug 2023, 17:21 Jason Hudson, @.***> wrote:

Have you restarted the plex media server yet?

Try saving again then restarting...

The preferences always seem to respond the famous plex dance..

Once done refresh metadata for one film and send the logs...

On Wed, 9 Aug 2023, 17:18 Xtian Hog, @.***> wrote:

This will be the place where you choose whether to have collections or not... etc … <#m_1982456116079890548m-7382245371068004073_>

No love, I saved GEVI preferences.

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

JPH71 commented 1 year ago

Do you have the _PGMA folder at the in your plex plugins folder?? This should be the reason for failure... This folder is mandatory for the agents to work!

CodyBerenson commented 1 year ago

@vampirelayer can this be closed? It looks from the logs as @JPH71 that the agents do not see the _PGMA folder. Please verify and close. Thanks.

vampirelayer commented 1 year ago

I’ll check this later tonight. Sent from my iPhoneOn 14 Aug 2023, at 1:38 AM, Cody Berenson @.***> wrote: @vampirelayer can this be closed? It looks from the logs as @JPH71 that the agents do not see the _PGMA folder. Please verify and close. Thanks.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

vampirelayer commented 1 year ago

image

Also wondering, if this is of concern :AttributeError: 'NoneType' object has no attribute 'startswith' It sounds like a program bug.

JPH71 commented 1 year ago

That is correct U can remove nynmedia...the website went down

On Tue, 15 Aug 2023, 14:17 Xtian Hog, @.***> wrote:

[image: image] https://user-images.githubusercontent.com/81353722/260706370-30e24121-ffc1-4434-818a-a5bc9dc3fd73.png

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

vampirelayer commented 1 year ago

I will close this bug. Had to clean out my Plex Support File and also decided to scrape my entire collection again.