Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora

0

79
Vistas
Pull and parse all GET URLs starting with 'ads?' along with query parameters from a page on load. JS

Example: https://www.si.com/nfl

Goto the network panel and filter by 'ads?' as the page loads. You will see a list of URLs starting with 'ads?'.

I would like to be able to pull and parse the URLs and query parameters for all URLs starting with 'ads?'. I am able to get most but not all urls parsed. Currently using this method which only allows for some urls to be pulled and parsed. Video Request URL's and params are not coming through. Basic console output is fine for now, as long as I can access the data to be used.

XMLHttpRequest.prototype.send = function() {
           this.addEventListener('readystatechange', function() {
               if (this.responseURL.includes(urlmatch) && this.readyState === 4) {  

Any help would be greatly appreciated. Thanks!

7 months ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos