Search Internet (done for now)
Posted: 03 Apr 2012 11:38
Hi,
I made a search tool that search specific websites "dostips, filehippo, softpedia, the piret bay"
it work just fine but i wanted to modify it to add more websites and search two or three of them in the same time but the trick is to get the result of both in one html file
so is it possible to output the search result to my own html page?
here is my code:
help appreciated
I made a search tool that search specific websites "dostips, filehippo, softpedia, the piret bay"
it work just fine but i wanted to modify it to add more websites and search two or three of them in the same time but the trick is to get the result of both in one html file
so is it possible to output the search result to my own html page?
here is my code:
Code: Select all
@echo off
setlocal
cls
:loop
color 0b
mode 80,25
title Search Tool
::====================================================================
echo:
echo:
echo:
echo: ................................................................
echo: ::'######::'########::::'###::::'########:::'######::'##::::'##:
echo: :'##... ##: ##.....::::'## ##::: ##.... ##:'##... ##: ##:::: ##:
echo: ::##:::..:: ##::::::::'##:. ##:: ##:::: ##: ##:::..:: ##:::: ##:
echo: :. ######:: ######:::'##:::. ##: ########:: ##::::::: #########:
echo: ::..... ##: ##...:::: #########: ##.. ##::: ##::::::: ##.... ##:
echo: :'##::: ##: ##::::::: ##.... ##: ##::. ##:: ##::: ##: ##:::: ##:
echo: :. ######:: ########: ##:::: ##: ##:::. ##:. ######:: ##:::: ##:
echo: ::......:::........::..:::::..::..:::::..:::......:::..:::::..::
echo: ::'########::'#######:::'#######::'##:
echo: ::... ##..:: ##.... ##:'##.... ##: ##:
echo: : ##:::: ##:::: ##: ##:::: ##: ##:
echo: : ##:::: ##:::: ##: ##:::: ##: ##:
echo: : ##:::: ##:::: ##: ##:::: ##: ##:
echo: : ##:::: ##:::: ##: ##:::: ##: ##:
echo: : ##::::. #######::. #######:: ########:
echo: :..::::::.......::::.......:::........::
echo:
echo:
echo:
::======================================================================
ping localhost -n 3 >nul
cls
echo.
echo.
echo.
echo.
echo ======================
echo = Search List =
echo ======================
echo.
echo.
echo 1) Softpedia
echo 2) Dos Tips
echo 3) File Hippo
echo 4) The Pirates Bay "Torrent"
echo 5) Exit
echo.
echo Choose Website :
set /p "cho=>"
if %cho%==5 goto EOF
echo.
Echo Search Topic:
set /p "cho2=>>"
set cho2=%cho2%
if %cho%==1 start "firefox" "http://www.google.com.eg/search?q=site:softpedia.com+%cho2%"
if %cho%==2 start "firefox" "http://www.google.com.eg/search?q=site:dostips.com+%cho2%"
if %cho%==3 start "firefox" "http://www.google.com.eg/search?q=site:filehippo.com+%cho2%"
if %cho%==4 start "firefox" "http://thepiratebay.se/search/%cho2%"
cls
goto loop
:EOF
help appreciated