vb6rocod / utils

resolve video hosting servers
39 stars 38 forks source link

Streamtape ASN Error #14

Closed xcoders-hub closed 3 years ago

xcoders-hub commented 3 years ago

Nice to see your code but if i try to getheader of retrieve url. The url shows correctly but when opening it shows ASN Mismatch. Any idea what's going wrong with my ip? here is the code i used. $link= the link we get through this code. `$url= $link;

$headers = @get_headers($url); $final_url = ""; foreach ($headers as $h) { if (substr($h,0,10) == 'Location: ') { $final_url = trim(substr($h,10)); break; } } echo $url;`

vb6rocod commented 3 years ago

They solve this problem, I have a similar problem early this morning but now seems to work.

xcoders-hub commented 3 years ago

How ? Please add above lines of code in streamtape and see the result.