A
A
Andrew2015-04-21 07:02:38
PHP
Andrew, 2015-04-21 07:02:38

How to log in to lostfilm.tv?

On the site lostfilm, nuclear authorization failed to understand, catch and reproduce the correct sequence of receiving and sending cookies. I searched the entire Internet, all options do not work, and there are also many people who simply could not solve this problem. Maybe someone already has a working experience or someone could specifically help with the code?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Immortal_pony, 2015-04-21
@ntzch

function download($link) {
  $opts = [
    'http' => [
      'method' => "GET",
      'header' => "Cookie: uid=XXXXXX; pass=YYYYYYYYYYYYYYYYYYYYYYYYY"
    ]
  ];
  $context = stream_context_create($opts);

  return file_get_contents($link, false, $context);
}

D
Deodatuss, 2015-04-21
@Deodatuss

and it is obligatory on php? on phantomjs it's two times

G
Gregory, 2015-04-21
@difiso

look here . I think it will help you figure it out.

M
Mukhammad, 2020-06-23
@Mukhammad

Good evening.
I have a solution ready, if you need write

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question