V
V
Vetal Matitskiy2015-11-05 09:50:04
JavaScript
Vetal Matitskiy, 2015-11-05 09:50:04

How to get a real link in JavaScript (node.js) having a link with a redirect?

Good afternoon, dear JavaScript gurus. I am making a small parser of information from the site on node.js and I need to process links that go to external resources. please tell me how in JavaScript having a link like sitedomain.com/away/content147.php get the real address of the content to which the redirect goes like third-party-site.com/item147

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Макс, 2015-11-05
@AloneCoder

Сделайте у себя на сервере страницу, которую можно будет дернуть аяксом и получить с сервера страницу после редиректа
Силами чистого js проблему не решить

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question