diff options
Diffstat (limited to 'utils/modules')
-rw-r--r-- | utils/modules/sitestats.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/modules/sitestats.php b/utils/modules/sitestats.php index d16e491..693fba3 100644 --- a/utils/modules/sitestats.php +++ b/utils/modules/sitestats.php @@ -164,6 +164,17 @@ class SiteStats { strpos($url, "prescription") != FALSE || $url == "") continue; + if(strpos($url, "youtube.com") != FALSE) { + $u = parse_url($url); + parse_str($u['query']); + if($v != "") { + //print_r($u['query']); + $youtubeurl = "http://www.youtube.com/watch?v=".$v; + $this->referers[$youtubeurl]++; + continue; + } + } + // If url exists already without www remove www from this url. if(substr($url, 7, 3) == "www") { $surl = "http://" . substr($url, 11); |