![]() |
|
Making a unbranded movie search engine - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Sharing (https://sinister.ly/Forum-Sharing) +--- Forum: Movies & TV (https://sinister.ly/Forum-Movies-TV) +--- Thread: Making a unbranded movie search engine (/Thread-Making-a-unbranded-movie-search-engine) |
Making a unbranded movie search engine - hacxx - 08-30-2018 For this i'm going to use a combination of two diferent google services. The first is to take advantage of one API and the second is CSE known as Custom Search Engine. There is one problem using CSE and this is that it follow the Search Engine takedown policy, so, if a link is flag by DMCA takedowns then it will not appear in the search results on Google as well on any CSE. Visit and create an account in Code: http://cse.google.comNow that you have an account, create a search engine inside the CSE plataform and add the following websites Code: openload.co
oload.stream
streamango.com
streamcloud.eu
vidlox.tv
flashx.tv
vidtodo.com
speedvid.net
vidzi.tv
estream.to
thevideo.me
vidto.me
vidlox.tv
auroravid.to
cloudtime.to
vidup.me
vshare.eu
nowvideo.sx
streamplay.to
bitvid.sx
watchers.to
xvidstage.com
vidup.me
vshare.eu
streamplay.to
oload.download
openload.co
vimeo.com
4shared.com
rapidvideo.com
streamango.com
vidzi.tv
vidoza.net
vidto.me
gorillavid.in
estream.to
speedvideo.net
clipwatching.com
streamcherry.com
powvideo.net
vidlox.tv
allmyvideos.net
vidcloud.co
gounlimited.to
flashx.tv
videowood.tv
idtbox.com
vidtodo.com
xdrive.cc
moevideo.net
otakucloud.com
vshare.eu
vidup.meGrab your search engine ID Example: Code: cx=007669213920302805361:xxxHere is a search engine template (change the ID to yours) Code: <script>
var keyword = prompt("Type a movie!", "Rambo");
if (keyword != null) {
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
var myObj = JSON.parse(this.responseText);
document.write("<html><head><title>G Movies 2 - Your best choice to find movies</title><style>@import url(http://fonts.googleapis.com/css?family=Fauna+One|Muli); body {background-color: #000; margin: 0; padding: 0; font-family: Fauna One; } div {margin: 1em auto; padding: 50px; background-color: #fff; border-radius: 1em;} a:link, a:visited {color: #38488f; text-decoration: none; font-family: Fauna One;} a:hover {text-decoration: underline;} @media (max-width: 100px) {body {background-color: #fff;} div {width: auto; margin: 0 auto; border-radius: 0; padding: 1em; } }</style></head><body><center><table height='100%' width='50%'><tr><td><div><center><h1><u>G Movies 2</u></h1>To make a new search just refresh the page (F5)<br><hr>");
document.write('<center><table><tr><td>');
for (x in myObj.items) {
document.write('<b>'+ myObj.items[x].title +'</b><br>');
document.write('<a href="'+ myObj.items[x].link +'" target="_blank">'+ myObj.items[x].link +'</a><br><br>');
}
document.write('</td></tr></table></center>');
document.write('</center></center></div></body></html>');
}
};
xmlhttp.open("GET", "https://www.googleapis.com/customsearch/v1?key=AIzaSyBuR2Oz3LCECz6SQy5ZOiJn7hZ2aIj_-S0&cx=007669213920302805361:xxx&q="+keyword+"&alt=json", true);
xmlhttp.send();
}
</script>Save to a html file and save on your HD or upload to a webhosting account Basic programmer comments This template uses a javascript to ask the user for a movie then it envokes xmlhttp to retrieve the results directly from the google CSE. The results are then cached by the browser using a JSON format and after this the browser writes using the javascript function document.write with a loop. This code is unbranded with that i mean that it will not show any brand watermark like CSE code does. RE: Making a unbranded movie search engine - MSon - 09-13-2018 Nice Guide, Worked straight away, although Googles API has a daily search limit which i have reached already. For my 1st post i thought id try and be helpful, I altered it a little (formatting and included brief description for link), Save code as php file. example search: "search.php?photoshop" Code: <script>
var keyword = "<? echo $_SERVER['QUERY_STRING'] ?>";
if (keyword != null) {
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
var myObj = JSON.parse(this.responseText);
document.write('<center><table><tr><td>');
for (x in myObj.items) {
document.write('<a href="'+ myObj.items[x].link +'" target="_blank" style="text-decoration:none">');
document.write('<font style="color:blue;font-size:12;"><b>' +myObj.items[x].title +'</b></font><br>');
document.write('<font style="color:black;font-size:10;">' +myObj.items[x].snippet +'</font><br>');
document.write('<font style="color:grey;font-size:10;font-style:italic;">'+myObj.items[x].link +'</font></a><br><br>');
} ; document.write('</td></tr></table></center>') ; } ; } ;
xmlhttp.open("GET", "https://www.googleapis.com/customsearch/v1?key=AIzaSyBuR2Oz3LCECz6SQy5ZOiJn7hZ2aIj_-S0&cx=001070665017575917052:gmagdjk2wye&q="+keyword+"&alt=json", true);
xmlhttp.send() ; }</script>Once my daily limit resets you can preview it HERE RE: Making a unbranded movie search engine - hacxx - 09-14-2018 I'm working on a example that uses user interaction like entering the email and hit a ahref link and it will generate a bit.ly link. After clicking the link it will make a xmlhttp.open/JSON call, add the email and save in bit.ly link. From the CP a user use the search feature and it's possible to count how many hits was made by the number of entries. Note: All this from bit.ly server and the client example, the problem is CORS on bit.ly API |