'https://play.shikimori.org/animes/32998-91-days/video_online/1' - страница которую я пытаюсь парсить
вот такие заголовки мне отправляет этот сайт (полученно функцией get_headers)
CODE (htmlphp):
скопировать код в буфер обмена
скопировать код в буфер обмена
- Array (
- [0] => HTTP/1.1 302 Found
- [1] => Server: nginx
- [3] => Content-Type: text/html; charset=utf-8
- [4] => Connection: close
- [5] => X-Frame-Options: SAMEORIGIN
- [6] => X-XSS-Protection: 1; mode=block
- [7] => X-Content-Type-Options: nosniff
- [8] => Location: //play.shikimori.org/animes/32998-91-days
- [9] => Cache-Control: no-cache
- [10] => X-Request-Id: cf64d88c-4485-4e17-8a93-147fe0ccb969
- [11] => X-Runtime: 0.013295
- [12] => Vary: Origin
- [13] => Strict-Transport-Security: max-age=31536000
- [14] => HTTP/1.1 404 Not Found
- [15] => Server: nginx
- [17] => Content-Type: text/html; charset=utf-8
- [18] => Content-Length: 0
- [19] => Connection: close
- [20] => X-Request-Id: 1b9faba2-72fa-40b6-a766-42028c6fbabd
- [21] => X-Runtime: 0.004671
- [22] => Vary: Origin
- [23] => Strict-Transport-Security: max-age=31536000 )