The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
Hello,
I'm grabbing xhamster videos. I added a list of urls. I just grab one video then it stops. I have to requeue videos everytime so it restarts.
You already have my access.
Thank you.
Offline
will fix asap, sorry for the delay
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Would it be possible to fix it this week? I haven't been able to update my site for weeks.
Thank you.
Offline
Do this i just test it and work for me
replace this
private function get_file()
{
preg_match("/file: '(.*?)',/", $this->html, $match);
if (isset($match['1'])) {
return $match['1'];
}
preg_match('/type=\'video\/mp4\' file="(.*?)"/', $this->html, $match);
if (isset($match['1'])) {
return $match['1'];
}
$server = null;
preg_match('/srv=(.*?)\&/', $this->html, $match);
if (isset($match['1']) && $match['1']) {
$server = urldecode($match['1']).'/key=';
}
preg_match('/file=(.*?)&/', $this->html, $match);
if (isset($match['1']) && $match['1']) {
if (strpos($match['1'], 'http://') !== false) {
$server = null;
}
return $server.urldecode($match['1']).'.mp4';
}
return FALSE;
}
with this
private function get_file()
{
preg_match('/"sources":{"mp4":[{"url":"(.*?)"isHD":true},/', $this->html, $match);
if (!isset($match['1']) or !$match['1']) {
preg_match('/{"url":"(.*?)"480p"},/', $this->html, $match);
if (!isset($match['1']) or !$match['1']) {
preg_match('/{"url":"(.*?)":"240p"}]}/', $this->html, $match);
}
}
$replace = "\\";
if (isset($match['1']) && $match['1']) {
return str_replace($replace,'',$match['1']);
}
$this->error = $this->errors['file_error'];
}
Offline
It still doesn't work with this change.
Thanks anyway.
Offline
Edit admin/modules/graber/grabers/xhamster.php and replace the code:
private function get_file()
{
*
}
with:
private function get_file()
{
preg_match('/{"url":"(.*?)","quality":"720p","label":"720p","isHD":true}/', $this->html, $match);
if (isset($match['1']) && $match['1']) {
return utf8_trim(stripslashes($match['1']));
}
preg_match('/{"url":"(.*?)","quality":"480p","label":"480p"}/', $this->html, $match);
if (isset($match['1']) && $match['1']) {
return utf8_trim(stripslashes($match['1']));
}
preg_match('/{"url":"(.*?)","quality":"360p","label":"360p"}/', $this->html, $match);
if (isset($match['1']) && $match['1']) {
return utf8_trim(stripslashes($match['1']));
}
preg_match('/{"url":"(.*?)","quality":"240p","label":"240p"}/', $this->html, $match);
if (isset($match['1']) && $match['1']) {
return utf8_trim(stripslashes($match['1']));
}
return FALSE;
}
I just tested this and its working...
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
It works, thank you.
Offline
Welcome! Sorry for the delay!
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Did Xhamster update their site? It's not grabing anymore.
Offline
Its working for me, i just tested after seeing your forum reply. Does it work to add a single video in the admin panel?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
It works if i add a single xhamster video but not with multi urls grabber.
Last edited by happylag (2017-10-21 17:36:27)
Offline
Any update on a multi graber fix?
Thank you.
Offline
Fixed
Last edited by happylag (2017-11-08 17:53:36)
Offline
Pages: 1