Adult Script Pro Community Forums

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.

#1 2017-12-03 16:41:32

happylag
Member
Registered: 2016-04-05
Posts: 182

Xhamster updated their website

Hello,

Xhamster updated their layout, so the graber isn't working anymore.

What code should i change?

Thank you.

Offline

#2 2017-12-04 12:28:41

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: Xhamster updated their website

happylag wrote:

Hello,

Xhamster updated their layout, so the graber isn't working anymore.

What code should i change?

Thank you.

Hey

if you get title error like i get

replace get_title() function with this code

private function get_title()
	{
		preg_match('/title" itemprop="name">(.*?)<\/h1>/', $this->html, $match);
		if (isset($match['1']) && $match['1']) {
			return e(strip_tags(str_replace(' - xHamster.com', '', $match['1'])));
		}
		
		$this->error = $this->errors['title_error'];
	}

Offline

#3 2017-12-05 12:08:16

happylag
Member
Registered: 2016-04-05
Posts: 182

Re: Xhamster updated their website

It works, thank you.

Offline

#4 2017-12-12 02:48:41

happylag
Member
Registered: 2016-04-05
Posts: 182

Re: Xhamster updated their website

They updated their site again. It can't find the video path.

For example: https://xhamster.com/videos/lez-gals-ma … ut-7718155

Thank you.

Offline

#5 2017-12-12 13:37:37

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Xhamster updated their website

Email me and i will send you updated graber!


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB