Die Seite antwortet damit. Auch mal mit 404 nginx... Obwohl die Datei online ist.
Das grabbe ich:
HTML-Code:
<script>
var playerInstance = jwplayer('player');
function loadplayer(){
$('#video_thumb').hide();
$('#video_fdva').hide();
$('#video_player').show();
playerInstance.setup({
autostart: true,
file: "https://node04.ani-stream.com/d/qk5pofc4whfxuqe6sng2fpfntgd4daond3qol7hqhe4rjzpf6anl6md7/video.mp4",
type: 'mp4',
height: window.innerHeight,
image: '//cdn.ani-stream.com/thumb/1gqzfnjpqhje.jpg',
startparam: 'start',
width: window.innerWidth,
abouttext:'ANI-STREAM Player - VIDEO ID: 1gqzfnjpqhje',
aboutlink: 'https://www.ani-stream.com/1gqzfnjpqhje',
logo: {
hide: true,
file: '//cdn.ani-stream.com/images/logo.png'
},
advertising: {
client: 'vast',
schedule: {
ads: {
offset: 'pre',
'tag': ['https://spl1.yumenetworks.com/yvp/20/1846kmCVgOTZ/secured_anistream_vpaid_as3.xml','https://spl1.yumenetworks.com/yvp/21/1846jDCeHjPH/secured_anistream_vpaid_html5.xml']
}
}
},
sharing: {
code: encodeURI('<iframe width="640" height="360" src="https://ani-stream.com/embed-1gqzfnjpqhje.html" frameborder="0" scrolling="no" allowfullscreen></iframe>'),
link: 'https://www.ani-stream.com/1gqzfnjpqhje'
},
});
playerInstance.on('adComplete', function(event){
ga('send', 'event', 'Ad Complete', event.tag, event.message);
});
playerInstance.on('adError', function(event){
ga('send', 'event', 'Ad Error', event.tag, event.message);
});
playerInstance.on('error', function(event){
ga('send', 'event', 'Media Error', 'Errors (4)', event.message);
});
playerInstance.on('ready', function(){
$(window).on('resize orientationChange', function(event) {
var width = $(window).width();
var height = $(window).height();
window.playerInstance.resize(width, height);
});
});
}
</script>
Dort ziehe ich mir die Datei:
Code:
file: "https://node04.ani-stream.com/d/qk5pofc4whfxuqe6sng2fpfntgd4daond3qol7hqhe4rjzpf6anl6md7/video.mp4",
Das wäre die Seite: ANI-STREAM.COM - Naruto Shippuuden Movie 08 GER SUB by naruto-tube.mp4.mp4
Selbst wenn ich Proxys verwende, passiert das gleiche.
Für eine Weile kann ich grabben und Videos schauen und dann taucht das "WrongIP" auf und selten ein erlogenes "404". Mit und ohne Proxy.
Wenn ich das Video aber dann im Player abspiele: Boruto Movie 1 GER SUB | Boruto: Naruto The Movie
Geht das ohne Probleme... wo ich dann davon ausgehe, dass ich nicht gesperrt bzw. geblockt bin.
Muss ich eventuell einen Referrer mit übergeben, wie könnte diese aussehen?
Ich habe auch versucht die User-Agent als Google Bot zu tarnen, auch kein Erfolg.
LG