User Tag List

Results 1 to 5 of 5

Thread: Video Downloader

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Video Downloader

    User Info Menu

    Re: Video Downloader

    May I have source code?
    Quote Originally Posted by Epic of HITB
    get... 1) a mini fridge | 2) A toilet installed in your room | 3) a closet full of non-perishable foods | 4) Lyscol ( who needs showers anyway?) | 5) tons of books articles lectures zines etc etc

    Dont leave your room...EVER... AND I MEAN EVER
    Damned six line limit! *NERD RAGE*

  2. #2
    Video Downloader

    User Info Menu

    Re: Video Downloader

    Quote Originally Posted by S2h6699 View Post
    May I have source code?
    Sure:

    #include <iostream>
    #include <string>
    #include <windows.h>
    using namespace std;

    string WebSearch(string query)
    {
    int i=0;
    for(i; i<query.size(); i++)
    {
    if(query[i]==' ')
    {
    query=query.replace(query.find(" ",0), 1, "+");
    }
    else if(query[i]=='+')
    {
    query=query.replace(query.find("+",0), 1, "%2B");
    }
    }
    string url="http://keepvid.com/?url=http%3A%2F%2F";
    url.insert(url.size(), query);
    return url.c_str();
    }

    int main()
    {
    system("title TheEliteOne's Video Downloader");
    cout<<"Enter the link to the vide you want to donwload (No http://)\n\n";
    string s;
    getline(cin,s);
    s=WebSearch(s);
    ShellExecute(NULL, "open", s.c_str(), NULL, NULL, SW_SHOWNORMAL);
    return 0;
    }

    If you have an idea on a PSP related program that is ran on Windows PM me with some information on your idea please.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •