1

This URL:

https://www.novelupdates.com/extnu/5190240/

Redirects to final URL:

https://zenithnovels.com/monster-refining-system/monster-refining-system-chapter-1/

How do I get the final redirected URL?

What I've tried so far

Trying an $.ajax() attempt returns undefined:

var data = $.ajax({
    type: "GET",
    url: 'https://www.novelupdates.com/extnu/5190240/',
    async: false
  }).responseText;

alert(data);

What is a working way to do this?

Nico Haase
  • 11,420
  • 35
  • 43
  • 69
Henrik Petterson
  • 6,862
  • 20
  • 71
  • 155

0 Answers0