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.
I just tested the grabers on my box for xhamster and redtube. Both are working.
Hey
send me last version when u have time.
if i find anything that not working i can make it work...this way u will stop worry about less stuff and work more on dev v3
thanks Thiva
No problem
Would it be possible to send me the whole xhamster file?
Thank you.
i cant send you email via asp forum so i put all code here...just copy paste it
<?php
defined('_VALID') or die('Restricted Access!');
class VGraber_xhamster
{
private $url;
private $html;
private $video;
private $error = FALSE;
private $errors = array(
'html_error' => 'Failed to get html for the requested url!',
'title_error' => 'Failed to get video title!',
'category_error' => 'Failed to get video category!',
'tags_error' => 'Failed to get video tags!',
'file_error' => 'Failed to get video file!'
);
public function __construct($url)
{
$this->url = $url;
}
public function process()
{
$this->get_html($this->url);
if (!$this->error) {
$this->video['title'] = $this->get_title();
$this->video['description'] = $this->get_description();
$this->video['tags'] = $this->get_tags();
$this->video['category'] = $this->get_category();
$this->video['file'] = $this->get_file();
$this->video['size'] = $this->get_size();
}
}
public function get_video()
{
return $this->video;
}
public function get_html($url)
{
if (!$this->html = VCurl::string($url)) {
$this->error = $this->errors['html_error'];
}
$this->html = str_replace(array("\n", "\r"), '', $this->html);
$this->html = preg_replace('/\s\s+/', ' ', $this->html);
}
public function is_error()
{
return ($this->error) ? TRUE : FALSE;
}
public function get_error()
{
return $this->error;
}
private function get_title()
{
preg_match('/<h1 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'];
}
private function get_description()
{
preg_match('/<span>Description:<\/span>(.*?)Comment please/', $this->html, $match);
if (isset($match['1']) && $match['1']) {
return e(strip_tags($match['1']));
}else{
return $this->get_title();
}
}
private function get_tags()
{
preg_match('/<span>Categories:<\/span><\/td><td>(.*?)<\/td>/', $this->html, $match);
if (isset($match['1']) && $match['1']) {
preg_match_all('/<a title="(.*?)" href="(.*?)">(.*?)<\/a>/', $match['1'], $matches);
if (isset($matches['3']) && $matches['3']) {
return $matches['3'];
}
}
if (isset($this->video['title']) && $this->video['title'] != '') {
$array = explode(' ', utf8_strtolower($this->video['title']));
$tags = array();
foreach ($array as $string) {
if (strlen($string) >= TAG_MIN_LENGTH) {
$tags[] = $string;
}
}
return $tags;
}
$this->error = $this->errors['tags_error'];
}
private function get_category()
{
return '';
}
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;
}
private function get_size()
{
if (isset($this->video['file'])) {
return 0;
}
}
}
hey,
since i fix grabber my self and am using only 1-3 sites i dont ask adrian for new version.
as i see both codes work for me.
i test each code and get files source
there is few grabbers sites stop working....i didnt test one by one yet.... i have fix xhamster.
if you find some other email me and i will fix
xhamster fix file_get
on line 112 replace all function get_file() with this code
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'];
}
Thanks
your site is redirect..that is bad for seo
security issue with this option
the code that show global top is located in header.tpl.php , so if you remove it from there will not show it everywhere else too.
as i check code you cant just show it in all pages but not in home.
if you want to remove it
find this
<?php if (isset($this->cat_id)): echo p('adv_category', 'video-category-top', array($this->cat_id)); else: echo p('adv', 'global-top'); endif; ?>
and just remove this part
else: echo p('adv', 'global-top');
Eri wrote:zackmaster wrote:I use HilltopAds, Exoclick, AdsTerra, Ero-advertising and JuicyAds on my adult tubes. I use all of them via htttp://adspyglass.com at the same time. It automatically detects the most profitable offers for my traffic from ad networks. My profit has growed up nearly +40%.
They take you 10% or not?
Will give, if you on their referral link will become their client https://www.adspyglass.com/?u=24554
They have plans... 50$,100$,300$...and so on..and they have fees.they get everything from you . why to buy plan? they should have % from your income like ads network do.
there is not categopries to change, are orphans videos. yeah i have set auto terms. if i choose one video will add categories after an sql error, but in multi video selection or in recategorize tool is not adding videos to some categories
Hey
i have many orphans videos and recategorize not working, from video list when i choose 2+ videos recategorize and assing videos to categories only one video.and in video/categorize i run it milion times and there are many videos still orphans .
any fix?
Hey
can u add more option in some video reports pls?
like in "Not Playing" more info email etc, some of my visitors report videos that is Not Playing but for me is playing normaly, so would be nice to know more about that, live browser, OS etc
Thanks
Disable pseudostreaming secure link protection.
when i do that videos not playing
I do that last time and not help,
its block all URLs when add media on robots.txt
Hey
in Google search console i got many errors
access danied 1k and getting more
https://z38i.imgup.net/access_dan207c.png
many Blocked Resources from main url
8k and more. i am not sure but i think thats not good for seo.
how to fix that issues?
Thanks
Hey eri thank you for reply
what you mean you use direct popunder link?
atm i have js code that adsterra gave me,
here is : <script type='text/javascript' src='//pl1632.puserving.com/ca/dd/72/cadd721b1e78b9c54bcd579842242f4d.js'></script>
you do something defrent that am missing? and help to not banned and brake google rules?
pls email me to : paris_thiva@yahoo.gr
hillstopads what cpm give you?
Hey all
i filnaly get msg from google.
the reason is <Sneaky mobile redirects detected >
am pretty sure clickadu was the reason , when i add it i saw 8% change in bounce rate..goes up .
question : adsterra is code is bettersolution?
cuz i see in search console in Blocked Resources that the JS of them is blocked and effect 7k+ URLS
Thanks
Hey
i have 2 sites and one of them get penalized from google but i didnt care so much since this site get only 100 visit from google so not so much issue ....but now i see my other site traffic get drop daily and today i almost get 0 traffic from google and before i had 8-10k daily.
both sites have same IP ( but i read on internet that IP doesn't effect in SEO ) and i had link to each other, Now i have remove both links but again i worry for result.
will my traffic come back?
hmm....dont know . This is something that adrian know
forum have discontinued after 1.x.x , so there DB module etc but have not updated and not have theme files. so will not work.
if i remember well Andrian said will add again forum after 3.x.x.
if you want fast money use that for a couple of weeks and dont care about the bounce rate, Thiva
Thats why love you my men
popunder price depends
sound or not
may be a popup
my question is not about price..... is about bounce rate, would you keep use it ? if bounce goes 7-8% up?
Hey
Lets say u had a deal with a ads service and they offer you a good CPM for pop ads but after 1 day you see bounce rate to go up ~7%
You would keep using them?
Thanks
thanks eri.... i will try it
Hey
Whats that Verizon CDN network include? only css and image?
Thanks