Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdultDvDEmpire and HotMovies scrapers failing on Network Error: Could not load the requested resource #1811

Closed
6 of 14 tasks
Shades6666 opened this issue Oct 28, 2024 · 3 comments · Fixed by #1816
Closed
6 of 14 tasks
Assignees
Milestone

Comments

@Shades6666
Copy link

Scrapers that don't work:

  • IMDb
  • TMDb
  • TmdbConcert
  • TvTunes
  • AEBN
  • AdultDvDEmpire
  • HotMovies
  • VideoBuster

Details which are wrong / not loaded:
Both AdultDvDEmpire and HotMovies fail with "Network Error: Could not load the requested resource". All other scrapers working correctly.
Checking the logs, both appear to be getting stuck on age verification pages:

[AdultDvdEmpireApi] Network Error: "Insecure redirect" for URL QUrl("http://www.adultdvdempire.com:80/AgeConfirmation?url2=/allsearch/search?view=list&q=Searched Movie")

[HotMoviesApi] Network Error: "Insecure redirect" for URL QUrl("http://www.hotmovies.com:80/AgeConfirmation?url2=/adult-movies/search?q=Searched Movie")

MediaElch Version:

  • 2.12.1-dev (nightly)
  • 2.12.0 (stable)
  • 2.10.7-dev (nightly) -- I also tried an old nightly that I still had and it failed with the same error.

Operating System:

  • Windows
  • macOS
  • Linux (distribution: Ubuntu 24.04.1 LTS (noble) using appImage)

Additional context:

@bugwelle
Copy link
Collaborator

bugwelle commented Nov 4, 2024

Hi,

thanks for reporting! Sorry for the delay. See #1710 for details.

I can confirm the issue. I also found the root cause and am working on a fix.

Regards,
Andre

@bugwelle bugwelle self-assigned this Nov 4, 2024
@bugwelle bugwelle added this to the v2.12.2 milestone Nov 4, 2024
@bugwelle
Copy link
Collaborator

bugwelle commented Nov 4, 2024

This may take a bit longer: The pages now have an age restriction. Settings a cookie alone does not seem to work properly.


Notes:

function ageConfirmationClicked() {
	$.ajax({
		url: "Account/AgeConfirmation",
		data: ({
			ageConfirmationClicked: true
		}),
		success: function () {
					
			window.location = $(ageConfirmationButton).attr('data-url');
					   
		}
	});
}

bugwelle added a commit to bugwelle/MediaElch that referenced this issue Nov 6, 2024
bugwelle added a commit to bugwelle/MediaElch that referenced this issue Nov 6, 2024
@bugwelle
Copy link
Collaborator

bugwelle commented Nov 6, 2024

Thanks again for reporting. I've fixed this in #1816. The next Nightly version should work. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants