-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Is your feature request related to a problem? Please describe.
The IAFD website has recently been refusing head-shot image requests with http response code 403 "Forbidden". Other times IAFD doesn't have an actor's head-shot or sometimes it has the wrong actors head shot. The result is several actors no longer have head-shots when a film is scraped. This is the result of the source website denying requests and not the fault of a particular agent. IAFD and Cloudflare seem to change their logic often to deny repeated requests. This feature allows one to avoid IAFD when using the other agents.
Describe the solution you'd like
I would like to be able to supply the agent with a parameter for a URL that would be used to supply actor images instead of IAFD. Then one can set up their own web server on their home network and use the IP address or a dynamic hostname. The agent can then convert the actor name to an image file name using the same logic as the NFO agent, and obtain the head-shot without IAFD. For example if the actor name was Johnny Rapid, and I supplied the URL name http://myserver/nfo then the image request would go to http://myseverurl/nfo/Johnny_Rapid.jpg.
Describe alternatives you've considered
Here's an example of how the Gay Adult NFO Importer agent does this.
The Gay Adult NFO Importer agent allows one to provide a URL to search for actor head-shots. By setting up a local web server and setting this agent to use http://localhost/nfo as the URL. The Gay Adult NFO agent will load actor head-shots from images named Firstname_Lastname.jpg for example if the actor is listed as "Johnny Rapid" in the cast list in the nfo file for a film then the URL for the actor image is http://localhost/nfo/Johnny_Rapid.jpg.
Additional context
I'll be happy to help test or contribute to this feature any way I can.