Menú principal
Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Menú Mostrar Mensajes

Temas - david_domh

#41
Marca.com

Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o marca.com.so marca.com.cpp
// Regex
// http.*\.marca\.com.*(\.jpg|\.gif|\.jpeg|\.swf|\.png)

string get_filename(string url) {
               vector<string> resultado;
               if (url.find("?") != string::npos) {
                       stringexplode(url, "?", &resultado);
                       stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                       return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1);          
               } else {
                       stringexplode(url, "/", &resultado);
                       return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1); ;
               }
}

extern "C" resposta getmatch(const string url) {
   resposta r;  

  if ( (url.find("marca.com/") != string::npos)
  ) {
   
      r.file = get_filename(url);
     if (!r.file.empty()) {
        r.match = true;
        r.domain = "marca.com";
     } else {
        r.match = false;
     }
  } else {
     r.match = false;
  }
  return r;
}



Los videos de marca.com que salen de este servidor : uecdn.es


Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o uecdn.es.so uecdn.es.cpp
// Regex
// http.*\.uecdn\.es.*(\.flv|\.mp4)

string get_filename(string url) {
               vector<string> resultado;
               if (url.find("?") != string::npos) {
                       stringexplode(url, "?", &resultado);
                       stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                       return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1);          
               } else {
                       stringexplode(url, "/", &resultado);
                       return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1); ;
               }
}

extern "C" resposta getmatch(const string url) {
   resposta r;  

  if ( (url.find("uecdn.es/") != string::npos)
  ) {
   
      r.file = get_filename(url);
     if (!r.file.empty()) {
        r.match = true;
        r.domain = "Marca.com/Videos";
     } else {
        r.match = false;
     }
  } else {
     r.match = false;
  }
  return r;
}



Adjunto los .cpp, .so y  su img-domain que se copia en /var/www/thunder/imgpng

https://mega.co.nz/#F!wQ4xSRoC!TQJuPl80ud8vz7hpJslKPQ


Saludos

David M.
#42
Plugins de juegos / plugin Juegos Axeso5
Agosto 28, 2013, 04:57:27 PM
Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <string>
#include <vector>
#include "../utils.cpp"

using namespace std;
     
// g++ -I. -fPIC -shared -g -o axeso5.com.so axeso5.com.cpp
// regex
// http.*\.axeso5\.com.*(\.zip|\.cmp|\.cdt|\.bmp|\.exe|\.acv|\.BIN|\.mp3|\.dds|\.wav|\.WAV|\.png|\.jpg|\.swf|\.Xtp|\.cab|\.tbm|\.loc|\.7z|\.stg|\.kom)
bool in_array(const string &needle, const vector< string > &haystack) {
    int max = haystack.size();

    if (max == 0) return false;

for (int iii = 0; iii < max; iii++) {
        if (regex_match(haystack[iii], needle) != "") {
            return true;
}
}
    return false;
}

string dominiotxt="Axexo5_Juegos_Online";     
string get_filename(string url) {
      vector<string> resultado;
                if (url.find("?") != string::npos) {
                        stringexplode(url, "?", &resultado);
                        stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                        return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);           
                } else {
                        stringexplode(url, "/", &resultado);
                        return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);
                }
    }

extern "C" resposta getmatch(const string url) {
        resposta r;     
vector<string> black_list;
black_list.push_back ("content.json.zip");
     
    if ( (url.find("/operation7/") != string::npos) and (url.find("/DICs/") != string::npos)
       ) {
    dominiotxt="Operation7_Online";
    }
    if ( (url.find("/content/") != string::npos)
       ) {
    dominiotxt="Audition-Online";
    }
    if ( (url.find("/sa_patch/") != string::npos)
       ) {
    dominiotxt="Suddent-Attack/Axeso5";
    }
    if ( (url.find("/KarosES/") != string::npos)
       ) {
    dominiotxt="Karos-Online/Axeso5";
    }
    if ( (url.find("/GrandChaseLIN/") != string::npos)
       ) {
    dominiotxt="GrandChase/Axeso5";
    }
    if ( (url.find(".axeso5.com/") != string::npos) and
     ((url.find(".zip")!= string::npos) or
     (url.find(".cmp") != string::npos) or
     (url.find(".cdt") != string::npos) or
     (url.find(".bmp") != string::npos) or
     (url.find(".exe") != string::npos) or
     (url.find(".acv") != string::npos) or
     (url.find(".BIN") != string::npos) or
     (url.find(".mp3") != string::npos) or
     (url.find(".dds") != string::npos) or
     (url.find(".wav") != string::npos) or
     (url.find(".WAV") != string::npos) or
     (url.find(".png") != string::npos) or
     (url.find(".jpg") != string::npos) or
     (url.find(".swf") != string::npos) or
     (url.find(".Xtp") != string::npos) or
     (url.find(".cab") != string::npos) or
     (url.find(".tbm") != string::npos) or
     (url.find(".loc") != string::npos) or
     (url.find(".7z") != string::npos) or
     (url.find(".stg") != string::npos) or
     (url.find(".kom")!= string::npos)) 
       ) {
                   
   r.file = get_filename(url);
                if (!r.file.empty()) {
                        r.match = true;
                       r.domain = dominiotxt;
                } else {
                        r.match = false;
                }
        } else {
                r.match = false;
        }
        return r;
}



David O'mac
#43
Plugins de juegos / PLUGIN CABAL Online
Agosto 26, 2013, 05:54:46 PM
En Test
#44
Este plugin hace cachè de todas las actualizaciones del juego online Lineaje II

l2cr.com/Actualizaciones   135   15.15 MiB   0 bytes   0   0,00 %



Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <string>
#include <vector>
#include "../utils.cpp"

using namespace std;

// use this line to compile
// g++ -I. -fPIC -shared -g -o fastlayer-idc.com.so fastlayer-idc.com.cpp
// Regex
// http.*\.fastlayer-idc\.com.*(\.gtx|\.dat)

string get_filename(string url) {
               vector<string> resultado;
               if (url.find("?") != string::npos) {
                       stringexplode(url, "?", &resultado);
                       stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                       return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1);          
               } else {
                       stringexplode(url, "/", &resultado);
                       return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1); ;
               }
}

extern "C" resposta getmatch(const string url) {
   resposta r;  

  if ( (url.find("launchercr.fastlayer-idc.com/") != string::npos)
  ) {
   
      r.file = get_filename(url);
     if (!r.file.empty()) {
        r.match = true;
        r.domain = "l2cr.com/Actualizaciones";
     } else {
        r.match = false;
     }
  } else {
     r.match = false;
  }
  return r;
}


Adjunto el .cpp
#45

Lineaje II  /   Cabal Online   /  Maplesotry

Alguien juega estos juegos en su lan para poder intentar desarrollar sus respectivos plugins?
#46
Plugins de juegos / Plugin HoN Latino - Axexo5
Agosto 24, 2013, 05:18:33 AM
Testeado y Probado

Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o heroesofnewerth.com.so heroesofnewerth.com.cpp
// Regex
// http.*\.heroesofnewerth\.com.*(\.ogg|\.zip|\.mp3|\.swf|\.gif|\.jpg|\.rar)

string get_filename(string url) {
                vector<string> resultado;
                if (url.find("?") != string::npos) {
                        stringexplode(url, "?", &resultado);
                        stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                        return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1);         
                } else {
                        stringexplode(url, "/", &resultado);
                        return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1); ;
                }
}

extern "C" resposta getmatch(const string url) {
    resposta r; 

   if ( (url.find("dl.heroesofnewerth.com/") != string::npos)
   ) {
     
       r.file = get_filename(url);
      if (!r.file.empty()) {
         r.match = true;
         r.domain = "HoN_Latino-Axexo5";
      } else {
         r.match = false;
      }
   } else {
      r.match = false;
   }
   return r;
}


Saludos..........................................
#47
Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <string>
#include <vector>
#include "../utils.cpp"

using namespace std;
     
// g++ -I. -fPIC -shared -g -o axeso5.com.so axeso5.com.cpp
// regex
// http.*\.axeso5\.com.*(\.zip|\.cmp|\.cdt|\.bmp|\.exe|\.acv|\.BIN|\.mp3|\.dds|\.wav|\.WAV|\.png|\.jpg|\.swf|\.Xtp|\.cab|\.tbm|\.loc|\.7z|\.stg|\.kom)
bool in_array(const string &needle, const vector< string > &haystack) {
    int max = haystack.size();

    if (max == 0) return false;

for (int iii = 0; iii < max; iii++) {
        if (regex_match(haystack[iii], needle) != "") {
            return true;
}
}
    return false;
}

string dominiotxt="Axexo5_Juegos_Online";     
string get_filename(string url) {
      vector<string> resultado;
                if (url.find("?") != string::npos) {
                        stringexplode(url, "?", &resultado);
                        stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                        return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);           
                } else {
                        stringexplode(url, "/", &resultado);
                        return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);
                }
    }

extern "C" resposta getmatch(const string url) {
        resposta r;     
vector<string> black_list;
black_list.push_back ("content.json.zip");
     
    if ( (url.find("/operation7/") != string::npos) and (url.find("/DICs/") != string::npos)
       ) {
    dominiotxt="Operation7_Online";
    }
    if ( (url.find("/content/") != string::npos)
       ) {
    dominiotxt="Audition-Online";
    }
    if ( (url.find("/sa_patch/") != string::npos)
       ) {
    dominiotxt="Suddent-Attack/Axeso5";
    }
    if ( (url.find("/KarosES/") != string::npos)
       ) {
    dominiotxt="Karos-Online/Axeso5";
    }
    if ( (url.find("/GrandChaseLIN/") != string::npos)
       ) {
    dominiotxt="GrandChase/Axeso5";
    }
    if ( (url.find(".axeso5.com/") != string::npos) and
     ((url.find(".zip")!= string::npos) or
     (url.find(".cmp") != string::npos) or
     (url.find(".cdt") != string::npos) or
     (url.find(".bmp") != string::npos) or
     (url.find(".exe") != string::npos) or
     (url.find(".acv") != string::npos) or
     (url.find(".BIN") != string::npos) or
     (url.find(".mp3") != string::npos) or
     (url.find(".dds") != string::npos) or
     (url.find(".wav") != string::npos) or
     (url.find(".WAV") != string::npos) or
     (url.find(".png") != string::npos) or
     (url.find(".jpg") != string::npos) or
     (url.find(".swf") != string::npos) or
     (url.find(".Xtp") != string::npos) or
     (url.find(".cab") != string::npos) or
     (url.find(".tbm") != string::npos) or
     (url.find(".loc") != string::npos) or
     (url.find(".7z") != string::npos) or
     (url.find(".stg") != string::npos) or
     (url.find(".kom")!= string::npos)) 
       ) {
                   
   r.file = get_filename(url);
                if (!r.file.empty()) {
                        r.match = true;
                       r.domain = dominiotxt;
                } else {
                        r.match = false;
                }
        } else {
                r.match = false;
        }
        return r;
}




David O'mac
#48
Lo acabo de testear, me descargò todo el juego y sus actualizaciones desde el thunder

Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"
// Regex
// http.*\.riotgames\.com.*
// use this line to compile
// g++ -I. -fPIC -shared -g -o riotgames.com.so riotgames.com.cpp

string get_filename(string url) {
               vector<string> resultado;
               if (url.find("?") != string::npos) {
                       stringexplode(url, "?", &resultado);
                       stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                       return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1);          
               } else {
                       stringexplode(url, "/", &resultado);
                       return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1); ;
               }
}

extern "C" resposta getmatch(const string url) {
   resposta r;  

  if ( (url.find("l3cdn.riotgames.com") != string::npos)
  ) {
   
      r.file = get_filename(url);
     if (!r.file.empty()) {
        r.match = true;
        r.domain = "riotgames.com/LeagueofLegendS";
     } else {
        r.match = false;
     }
  } else {
     r.match = false;
  }
  return r;
}
#49
testeàndose cualquier momento  lo estamos posteando en el foro
#50
Instalación y Configuración RaptorCache / pregunta
Agosto 22, 2013, 04:44:05 PM
deseo instalar el raptor cache a mi servidor la pregunta es;  ya esta estable el raptor o todavia sigue en test?




#51
este plugins hace cache al point black, Gunz ultra, Cracy comby y al Atlantica Online de SoftnyX  (Plugin ACTUALIZADO)


Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <string>
#include <vector>
#include "../utils.cpp"

using namespace std;
   
// g++ -I. -fPIC -shared -g -o pandonetworks.com.so pandonetworks.com.cpp
// regex
// http.*\.pandonetworks\.com.*(\.gz|\.Xtp|\.exe|\.dat|\.lst|\.nzp)

string dominiotxt="pandonetworks";    
string get_filename(string url) {
     vector<string> resultado;
               if (url.find("?") != string::npos) {
                       stringexplode(url, "?", &resultado);
                       stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                       return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);          
               } else {
                       stringexplode(url, "/", &resultado);
                       return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);
               }
   }

extern "C" resposta getmatch(const string url) {
       resposta r;    
   
   if ( (url.find("/Compress_pb/") != string::npos)
      ) {
   dominiotxt="pandonetworks/Point-Black";
   }
   if ( (url.find("/GunzUltra/") != string::npos)
      ) {
   dominiotxt="pandonetworks/Gunz-Ultra";
   }
   if ( (url.find("/Compress/") != string::npos)
      ) {
   dominiotxt="pandonetworks/Cracy-Combi";
   }
   if ( (url.find("/IgnitedAtlantica/") != string::npos)
      ) {
   dominiotxt="pandonetworks/Atlantica-SoftnyX";
   }
   if ( (url.find(".pandonetworks.com/") != string::npos) and
           ( (url.find(".gz") != string::npos) or
           (url.find(".Xtp") != string::npos) or
           (url.find(".exe")!= string::npos) or
           (url.find(".dat") != string::npos) or
           (url.find(".lst")!= string::npos) or
           (url.find(".nzp")!= string::npos))
           ;) {
                 
  r.file = get_filename(url);
               if (!r.file.empty()) {
                       r.match = true;
                      r.domain = dominiotxt;
               } else {
                       r.match = false;
               }
       } else {
               r.match = false;
       }
       return r;
}



Saludos para toda la gente del foro
(dentro de poco harè un video de como obtener los img-domain, para los que no saben como hacerlo, asi el panel del thunder se verà mas elegante con todos sus img-domain)

David M.
#52
Plugins para ThunderCache 3.1.2 / PLUGINS ACTUALIZADOS
Agosto 20, 2013, 03:06:55 PM
aca estan los .cpp y los .so de los nuevos plugins

https://mega.co.nz/#F!VcB0XR7T!PTRdUBKGxEps7_27dathDw


David M.

Saludos
#53
Plugins de música & videos / Plugins animes Online II
Agosto 20, 2013, 12:13:58 PM
Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o putlocker.com.so putlocker.com.cpp
// regex
// http.*\.putlocker\.com.*(\.swf|\.flv|\.mp4|\.x-flv)

string get_filename(string url) {
                vector<string> resultado;
                if (url.find("?") != string::npos) {
                        stringexplode(url, "?", &resultado);
                        stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                        return resultado.at(resultado.size()-1);           
                } else {
                        stringexplode(url, "/", &resultado);
                        return resultado.at(resultado.size()-1);
                }
}

extern "C" resposta getmatch(const string url) {
    resposta r;

        if ( (url.find(".putlocker.com/") != string::npos)
         ) {
               
            r.file = get_filename(url);
                if (!r.file.empty()) {
                        r.match = true;
                        r.domain = "putlocker_Videos";
                } else {
                        r.match = false;
                }
        } else {
                r.match = false;
        }
        return r;
}





Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o nowvideo.eu.so nowvideo.eu.cpp
// regex
// http.*\.nowvideo\.eu.*(\.swf|\.flv|\.mp4|\.x-flv)

string get_filename(string url) {
                vector<string> resultado;
                if (url.find("?") != string::npos) {
                        stringexplode(url, "?", &resultado);
                        stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                        return resultado.at(resultado.size()-1);           
                } else {
                        stringexplode(url, "/", &resultado);
                        return resultado.at(resultado.size()-1);
                }
}

extern "C" resposta getmatch(const string url) {
    resposta r;

        if ( (url.find(".nowvideo.eu/") != string::npos)
         ) {
               
            r.file = get_filename(url);
                if (!r.file.empty()) {
                        r.match = true;
                        r.domain = "Nowvideo_Animes";
                } else {
                        r.match = false;
                }
        } else {
                r.match = false;
        }
        return r;
}



Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o novamov.com.so novamov.com.cpp
// regex
// http.*\.novamov\.com.*(\.swf|\.flv|\.mp4|\.x-flv)

string get_filename(string url) {
                vector<string> resultado;
                if (url.find("?") != string::npos) {
                        stringexplode(url, "?", &resultado);
                        stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                        return resultado.at(resultado.size()-1);           
                } else {
                        stringexplode(url, "/", &resultado);
                        return resultado.at(resultado.size()-1);
                }
}

extern "C" resposta getmatch(const string url) {
    resposta r;

        if ( (url.find(".novamov.com/") != string::npos)
         ) {
               
            r.file = get_filename(url);
                if (!r.file.empty()) {
                        r.match = true;
                        r.domain = "Novamov_Animes";
                } else {
                        r.match = false;
                }
        } else {
                r.match = false;
        }
        return r;
}


#54
Plugins de música & videos / Plugins animes Online
Agosto 20, 2013, 12:09:54 PM
Testeados en mi servidor thundercache


Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o zippyshare.com.so zippyshare.com.cpp
// regex
// http.*\.zippyshare\.com.*(\.swf|\.flv|\.mp4|\.x-flv)

string get_filename(string url) {
               vector<string> resultado;
               if (url.find("?") != string::npos) {
                       stringexplode(url, "?", &resultado);
                       stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                       return resultado.at(resultado.size()-1);          
               } else {
                       stringexplode(url, "/", &resultado);
                       return resultado.at(resultado.size()-1);
               }
}

extern "C" resposta getmatch(const string url) {
   resposta r;

       if ( (url.find(".zippyshare.com/") != string::npos)
        ) {
               
           r.file = get_filename(url);
               if (!r.file.empty()) {
                       r.match = true;
                       r.domain = "zippyshare_Videos";
               } else {
                       r.match = false;
               }
       } else {
               r.match = false;
       }
       return r;
}



Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o videoweed.es.so videoweed.es.cpp
// regex
// http.*\.videoweed\.es.*(\.swf|\.flv|\.mp4|\.x-flv)

string get_filename(string url) {
               vector<string> resultado;
               if (url.find("?") != string::npos) {
                       stringexplode(url, "?", &resultado);
                       stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                       return resultado.at(resultado.size()-1);          
               } else {
                       stringexplode(url, "/", &resultado);
                       return resultado.at(resultado.size()-1);
               }
}

extern "C" resposta getmatch(const string url) {
   resposta r;

       if ( (url.find(".videoweed.es/") != string::npos)
        ) {
               
           r.file = get_filename(url);
               if (!r.file.empty()) {
                       r.match = true;
                       r.domain = "videoweed_Animes";
               } else {
                       r.match = false;
               }
       } else {
               r.match = false;
       }
       return r;
}



Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o rutube.ru.so rutube.ru.cpp
// regex
// http.*\.rutube\.ru.*(\.swf|\.flv|\.mp4|\.x-flv)

string get_filename(string url) {
               vector<string> resultado;
               if (url.find("?") != string::npos) {
                       stringexplode(url, "?", &resultado);
                       stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                       return resultado.at(resultado.size()-1);          
               } else {
                       stringexplode(url, "/", &resultado);
                       return resultado.at(resultado.size()-1);
               }
}

extern "C" resposta getmatch(const string url) {
   resposta r;

       if ( (url.find(".rutube.ru/") != string::npos)
        ) {
               
           r.file = get_filename(url);
               if (!r.file.empty()) {
                       r.match = true;
                       r.domain = "VideosRutube/Animes";
               } else {
                       r.match = false;
               }
       } else {
               r.match = false;
       }
       return r;
}




Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o videobam.com.so videobam.com.cpp
// regex
// http.*\.videobam\.com.*(\.swf|\.flv|\.mp4|\.x-flv)

string get_filename(string url) {
               vector<string> resultado;
               if (url.find("?") != string::npos) {
                       stringexplode(url, "?", &resultado);
                       stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                       return resultado.at(resultado.size()-1);          
               } else {
                       stringexplode(url, "/", &resultado);
                       return resultado.at(resultado.size()-1);
               }
}

extern "C" resposta getmatch(const string url) {
   resposta r;

       if ( (url.find(".videobam.com/") != string::npos)
        ) {
               
           r.file = get_filename(url);
               if (!r.file.empty()) {
                       r.match = true;
                       r.domain = "VideoBam_Videos";
               } else {
                       r.match = false;
               }
       } else {
               r.match = false;
       }
       return r;
}
#55
Videomega.tv

Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o videomega.tv.so videomega.tv.cpp
// regex
// http.*\.videomega\.tv.*(\.flv|\.mp4|\.x-flv|\.swf)

string get_filename(string url) {
        vector<string> resultado;
        if (url.find("?") != string::npos) {
            stringexplode(url, "?", &resultado);
            stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
            return resultado.at(resultado.size()-1);           
        } else {
            stringexplode(url, "/", &resultado);
            return resultado.at(resultado.size()-1);
        }
}

extern "C" resposta getmatch(const string url) {
    resposta r;   

if ( (url.find(".videomega.tv/") != string::npos)
   ) {
     
       r.file = get_filename(url);
      if (!r.file.empty()) {
         r.match = true;         
         r.domain = "peliculas/videomega.tv";
      } else {
         r.match = false;
      }
   } else {
      r.match = false;
   }
   return r;
}


Begun.ru

Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o begun.ru.so begun.ru.cpp
// regex
// http.*\.begun\.ru.*(\.flv|\.mp4|\.x-flv|\.swf)

string get_filename(string url) {
        vector<string> resultado;
        if (url.find("?") != string::npos) {
            stringexplode(url, "?", &resultado);
            stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
            return resultado.at(resultado.size()-1);           
        } else {
            stringexplode(url, "/", &resultado);
            return resultado.at(resultado.size()-1);
        }
}

extern "C" resposta getmatch(const string url) {
    resposta r;   

if ( (url.find(".begun.ru/") != string::npos)
   ) {
     
       r.file = get_filename(url);
      if (!r.file.empty()) {
         r.match = true;         
         r.domain = "peliculas/begun.ru";
      } else {
         r.match = false;
      }
   } else {
      r.match = false;
   }
   return r;
}



Netu.tv

Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o netu.tv.so netu.tv.cpp
// regex
// http.*\.netu\.tv.*(\.flv|\.mp4|\.x-flv|\.swf)

string get_filename(string url) {
        vector<string> resultado;
        if (url.find("?") != string::npos) {
            stringexplode(url, "?", &resultado);
            stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
            return resultado.at(resultado.size()-1);           
        } else {
            stringexplode(url, "/", &resultado);
            return resultado.at(resultado.size()-1);
        }
}

extern "C" resposta getmatch(const string url) {
    resposta r;   

if ( (url.find(".netu.tv/") != string::npos)
   ) {
     
       r.file = get_filename(url);
      if (!r.file.empty()) {
         r.match = true;         
         r.domain = "peliculas/netu.tv";
      } else {
         r.match = false;
      }
   } else {
      r.match = false;
   }
   return r;
}


Testeados y funcionando
#56
este servidor utilizan varios paginas de peliculas online : los otros 9 plugins los sigo testeando .

Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o v-kino.net.so v-kino.net.cpp
// regex
// http.*\.v-kino\.net.*(\.flv|\.mp4|\.x-flv|\.swf)

string get_filename(string url) {
       vector<string> resultado;
       if (url.find("?") != string::npos) {
           stringexplode(url, "?", &resultado);
           stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
           return resultado.at(resultado.size()-1);          
       } else {
           stringexplode(url, "/", &resultado);
           return resultado.at(resultado.size()-1);
       }
}

extern "C" resposta getmatch(const string url) {
   resposta r;  

if ( (url.find(".v-kino.net") != string::npos)
  ) {
   
      r.file = get_filename(url);
     if (!r.file.empty()) {
        r.match = true;        
        r.domain = "peliculas/v-kino.net";
     } else {
        r.match = false;
     }
  } else {
     r.match = false;
  }
  return r;
}
#57
Lo he probado y testeado desde la pagina animeid.tv y funciona full cache

la pagina googlevideo.com

Citar( http://www.static.org ) GoogleVideos   1   318.6 MiB   955.8 MiB   3   300,00 %

Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o googlevideo.com.so googlevideo.com.cpp
// regex
// http.*\.googlevideo\.com.*videoplayback

string get_filename(string url) {
               vector<string> resultado;
               if (url.find("?") != string::npos) {
                       stringexplode(url, "?", &resultado);
                       stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                       return resultado.at(resultado.size()-1);          
               } else {
                       stringexplode(url, "/", &resultado);
                       return resultado.at(resultado.size()-1);
               }
}

extern "C" resposta getmatch(const string url) {
   resposta r;

       if ( (url.find(".googlevideo.com") != string::npos)
        ) {
               
           r.file = get_filename(url);
               if (!r.file.empty()) {
                       r.match = true;
                       r.domain = "GoogleVideos";
               } else {
                       r.match = false;
               }
       } else {
               r.match = false;
       }
       return r;
}
#58
Lo he  testeado  viendo los videos de la pagina animeid.tv y funciona ok full cache
a googlevideo.com


Código (cpp) [Seleccionar]
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"

// use this line to compile
// g++ -I. -fPIC -shared -g -o googlevideo.com.so googlevideo.com.cpp
// regex
// http.*\.googlevideo\.com.*videoplayback

string get_filename(string url) {
               vector<string> resultado;
               if (url.find("?") != string::npos) {
                       stringexplode(url, "?", &resultado);
                       stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                       return resultado.at(resultado.size()-1);          
               } else {
                       stringexplode(url, "/", &resultado);
                       return resultado.at(resultado.size()-1);
               }
}

extern "C" resposta getmatch(const string url) {
   resposta r;

       if ( (url.find(".googlevideo.com") != string::npos)
        ) {
               
           r.file = get_filename(url);
               if (!r.file.empty()) {
                       r.match = true;
                       r.domain = "GoogleVideos";
               } else {
                       r.match = false;
               }
       } else {
               r.match = false;
       }
       return r;
#59
Plugins para ThunderCache 3.1.2 / PANDONETWORKS: AYUDA
Agosto 16, 2013, 09:06:13 PM
ALGUIEN SABE DE DONDE SALEN TODAS LAS DESCARGAS DE PANDO MEDIA BOSTER?

COMO POR EJEMPLO LEAGUE OF LEGENDS , AUDITION ETC
#60
Plugin de los drivers de Nvidia
Código (cpp) [Seleccionar]
#include <iostream>
    #include <cstring>
    #include <vector>
    #include "../utils.cpp"
     
    // g++ -I. -fPIC -shared -g -o nvidia.com.so nvidia.com.cpp
    // regex
    // http.*\.nvidia\.com.*(\.jpg|\.png|\.gif|\.mp3|\.swf|\.jpeg|\.mp4|\.exe|\.rar|\.zip)
     
    string get_filename(string url) {
      vector<string> resultado;
                if (url.find("?") != string::npos) {
                        stringexplode(url, "?", &resultado);
                        stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
                        return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);           
                } else {
                        stringexplode(url, "/", &resultado);
                        return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);
                }
    }
     
    extern "C" resposta getmatch(const string url) {
        resposta r;
     
            if ( (url.find(".nvidia.com/") != string::npos) and
            ( (url.find(".jpg") != string::npos) or
            (url.find(".png") != string::npos) or
            (url.find(".gif")!= string::npos) or
            (url.find(".mp3")!= string::npos) or
            (url.find(".swf")!= string::npos) or
            (url.find(".jpeg")!= string::npos) or
            (url.find(".mp4")!= string::npos) or
            (url.find(".exe")!= string::npos) or
            (url.find(".rar")!= string::npos) or
            (url.find(".zip")!= string::npos))
            ){
                   
                r.file = get_filename(url);
                    if (!r.file.empty()) {
                            r.match = true;
                            r.domain = "Nvidia";
                    } else {
                            r.match = false;
                    }
            } else {
                    r.match = false;
            }
            return r;
    }