
xaiborweb
Programador
No recomendado
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
hola estoy programando un comprobador de enlaces rotos hasta el momento me he basado en palabras clave como:
enlace vivo: http://waaw.tv/watch_video.php?v=GPVX3JXH00QY
enlace muerto: http://waaw.tv/watch_video.php?v=9H1YRMRM9Y31#iss=MTgxLjEzMS4xOTkuMTM4
enlace vivo: Videomega.tv - Host and share your videos free, subtitles supported
enlace muerto: Videomega.tv - Host and share your videos free, subtitles supported
enlace vivo: https://mega.nz/#!MlQWiCRQ!6Q-Vm4_KfxBpwCio7aF_kDfsx0qfZzI4L_QhW5WDPik
enlace muerto: https://mega.nz/#!8NMn0SbD!AAt2lABrXfczVR1EvnyMZQBm8DwA0zZpMyMLwL6TafI
el problema es que donde pone el texto: Not found or deleted! es en un iframe seguro que no se abre en el navegador por lo cual no puedo scrapear esto para encontrar la palabra clave y así poder detectar automáticamente si el enlace esta roto.
espero alguien tenga una idea gracias 😉
PHP:
"File Not Found","Archivo no encontrado","File Deleted","We are sorry!","We can't find the file you are looking for","Not found or deleted!"
enlace vivo: http://waaw.tv/watch_video.php?v=GPVX3JXH00QY
enlace muerto: http://waaw.tv/watch_video.php?v=9H1YRMRM9Y31#iss=MTgxLjEzMS4xOTkuMTM4
enlace vivo: Videomega.tv - Host and share your videos free, subtitles supported
enlace muerto: Videomega.tv - Host and share your videos free, subtitles supported
enlace vivo: https://mega.nz/#!MlQWiCRQ!6Q-Vm4_KfxBpwCio7aF_kDfsx0qfZzI4L_QhW5WDPik
enlace muerto: https://mega.nz/#!8NMn0SbD!AAt2lABrXfczVR1EvnyMZQBm8DwA0zZpMyMLwL6TafI
el problema es que donde pone el texto: Not found or deleted! es en un iframe seguro que no se abre en el navegador por lo cual no puedo scrapear esto para encontrar la palabra clave y así poder detectar automáticamente si el enlace esta roto.
espero alguien tenga una idea gracias 😉
Última edición: