Videomega.tv
#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
#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
#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
estare probando, Saludos
estare probando, Saludos
acabo de terminar de ver una pelicula completa
lo volvi a ver en otra pc
y bommmmmmmmmmmmmm
lo bota del cache del thunder