Google Video (Archive)
|Status||Closing in 2011-04-29|
|Archiving status||In progress...|
|IRC channel||(on hackint)|
Google Video is a video sharing website which is shutting down.
If you want to save your own videos, see the announcement and tools below.
If you want to help archive Google Video, get some machines running and join us in IRC (EFNet #archiveteam / #googlegrape)
Joining the archival effort
The automatic scripts only work on FreeBSD, Linux, Windows and maybe OS X. They also seem to work fine in Cygwin. Alternatively, you can run *nix in a virtual machine (given you have a fast enough machine).
To help scrape videos
First of all, please add your name/nickname to this list, along with the storage and bandwidth you have available.
On Linux Systems
- Download youtube-dl or from your distribution.
- Make sure it's marked executable: chmod +x youtube-dl
- Download and install wget for your distribution
- Download googlegargle (Norc's updated, dupe-safe version of googlegargle is here.)
- Get aria2 from your distribution (or if you're on Mac OS X, MacPorts) or SourceForge
- Pick a seed list from below, save it under the filename "list" and add your name to the list (you will need a wiki account)
- Change the first few lines of the googlegargle script to reflect your installation
- If you're using youtube-dl from your distro, run "which youtube-dl" or "sudo updatedb; locate youtube-dl" to find the location of the command. Change DLSCRIPT to this.
- For older aria versions, some options need to be removed (--max-connection-per-server=16 --min-split-size=1M)
- You might need to upgrade your version from your system package manager, however the most recent version still may not suffice.
- Change the ARIA variable in the script to the location of your ARIA executable. Usually (ubuntu) at /usr/bin/aria2c, change ARIA variable to this.
- To know where aria2 is located you can use either of these commands:
- "sudo updatedb; locate aria2"
- "which aria2" / "which aria2c"
- To know where aria2 is located you can use either of these commands:
- Invoke googlegargle
- Check with your OS settings to insure that your computer will not auto suspend or sleep after long periods of inactivity.
On Windows Systems
- Download the scraping script for Windows (you still need python and aria2, which can be downloaded separately - instructions in archive). Script location: http://www.pentium100.com/gg_windows.zip
Don't forget to join the IRC channel to coordinate who's getting what!
To help index videos (low bandwidth/storage)
On Linux Systems
Note: This will only work on Linux machines with X running. To run it on a headless server, use Xvfb (virtual framebuffer). On Ubuntu/Debian: 'apt-get install xvfb', then use xvfb-run to start your main script. An X server will now be made available to any programs that need it.
- Get the tools needed to build phantomjs (a headless web browser) and run the script: Qt WebKit, git, and curl. On Debian or Ubuntu, install the packages build-essential, curl, git, libqtwebkit4, libqtwebkit-dev, and libqt4-dev by issuing the command:
sudo apt-get install build-essential curl git libqtwebkit4 libqtwebkit-dev libqt4-dev
or, on Fedora:
sudo yum install curl git qt-webkit qt-webkit-devel qt-devel
- Run the following command to get the phantomjs source code:
git clone https://github.com/ariya/phantomjs.git
- Enter the directory that was just created by using the following command:
- Build phantomjs by issuing the command:
qmake && make -j2
- Move the phantomjs binary somewhere in your path by issuing the command:
cd bin && sudo mv ./phantomjs /usr/local/bin
- Create a folder called gvscript and download the script to get the list of Google Video related pages to scrape: http://22.214.171.124/at/google_video_related.tar.gz
- Extract the above downloaded file (Right-click and Extract To.. or use tar -zxvf ./google_video_related.tar.gz)
- In a terminal, navigate to the folder where you extracted the google_video_related file (above) and run the following command to help scrape Google Video:
while : ; do ./related.sh ; done
On Windows Systems
Grab the following archive which comes with full instructions: http://nstrom.chaosnet.org/google_video_related_win.zip
Once the script's running simply leave it running and head on over to #ggtesting on EFnet (IRC) if you need any assistance or in case the script has any issues. The script will contact the server to get a page to index the related video links, do that indexing, send back the results and repeat! It takes very little processing and bandwidth on your end (a couple of kb/sec, if that).
The seed files do currently not include all videos, so you might want to save precious videos explicitely. To do that, add IDs (docid URL parameter of the Google Video) to the "list" file in the same directory as the script, for example:
docid=1545969803753962248 docid=1598207563000425446 docid=-1679753730105404298
and start ./googlegargle
To request a cherrypick, add it to this list: http://piratepad.net/gvspecificrequests
If you download something from that list, add its docid to http://piratepad.net/TL7KDN8821 so that others won't download those videos for the second time.
Custom keyword searches
Linux Bash Command
If you want to grab videos by your own custom keyword search term, you can use this command:
SEARCH='my+search+term';for i in `seq 0 10 990 `;do curl -A "AT, Bitches" "http://www.google.com/search?q=$SEARCH+site:video.google.com&hl=en&safe=off&tbm=vid&start=$i&sa=N"|grep -o "docid=[0-9-]*"|sort -u|tee -a seed_videos_$SEARCH;done
Change "my+search+term" to your search term, and remember to use a plus sign instead of spaces (or url encode the text for other special characters).
Linux Bash Script
An alternative search script which sorts and dedupes results and can restrict searches to long, medium and short videos is here. <-- Please evolve the script and upload to Github?
Since we want to minimize overlap, here are some search terms that are already in progress of being downloaded (and the user who downloads them):
- Darkstar: "rare", "vintage", "commercial"
- NomDuClavier: "douglas adams", "richard dawkins", "charles darwin"
- oli: "australia history"
- dnova: "microelectronics"
- Lightblb: "documentary" (medium and long videos), "lecture" (medium and long videos)
Also check the specificrequest PiratePad under Cherry Picking on this page.
Seed List Downloads
- Original Lists: http://126.96.36.199/at/seeds/
- PLEASE add your custom searches and their details to this table!
|Seed list||Videos (lines)||Downloader||Complete? (Size?)|
|seed_videos_2_k||19,266 (24,242)||Lightblb, ARc[Clone, crackbab1, Pentium100, Mqrius||Split 49 chunks of 500|
Lightblb: aa ab ac ad ae
|seed_videos_2_l||22,641||ndurner, wgfreewill||Split 46 chunks of 500|
ndurner: 173; wgfreewill running in reverse from the bottom
|seed_videos_2_m||24,465||Jade Falcon||Jade @ 2854/24465 ~77G and counting...(100 concurrent threads!)|
balrog running in reverse
|seed_videos_2_o||25,049||travelinlibrarian||Split 51 chunks of 500|
|seed_videos_2_p||23,713||oli, Xentac, db48x, otro||Split 48 chunks of 500
oli: paa to paj
|seed_videos_2_t||25,301||businux||Split 51 chunks of 500|
|seed_videos_2_u||23,528||barbich, negge||Split 48 chunks of 500
barbich: currently processing 0 to 19
|seed_videos_2_w||21,732||nickmoorman||Split 34 chunks of 500 (already de-duped)|
nickmoorman: aa ab ac ad ae af ag ah ai aj ak al am an ao
|seed_videos_2_x||19,733||ksh||35% / 30GB|
|seed_videos_2_y||20,965||negge||216G done (100%)|
|seed_videos_a_related||This list contain errors||Dr.Sweety|
|seed_videos_j||999||joethehuman||In Progress (963/1000 35.1 GB)|
|seed_videos_k||999||aggroskater||In Progress [line 219]|
|seed_videos_l||999||yipdw||632/999, 40 GB |
Status update, updated every 30 minutes or so
(login as guest:guest if you get an authorization error)
|seed_videos_n||999||ndurner||Done (38 GB)|
|seed_videos_r||996||Pentium||Done (26.5GB), two bad IDs|
|seed_videos_t||999||joethehuman||In Progress (673/1000 32.7 GB)|
|seed_videos_u||999||perfinion, 0xDEADBEEF, norc||0xDEADBEEF 158/1000. norc 500-1000 done, 24GB. Perfinion done, 44GB.|
|"singularity"||174||db48x||(grabbed 8am UTC April 18th 2011)|
|"Feynman"||28||db48x||completed, 2.20GB (grabbed 9am UTC April 18th 2011)|
|"police"||998||lutostag||(grabbed 8am UTC April 18th 2011)|
|"eliezer"||1000||norc||(grabbed 8am UTC April 18th 2011)|
|"obama"||(grabbed 8am UTC April 18th 2011)|
|"cia"||(grabbed 8am UTC April 18th 2011)|
|"charlie"||(grabbed 8am UTC April 18th 2011)|
|IDs from the metafilter thread||28||db48x||(grabbed 9am UTC April 18th 2011)|
|IDs from the reddit thread||(grabbed 9am UTC April 18th 2011)|
|[http://pastebin.com/ZkzNmwEW "douglas adams",
|NomDuClavier]||513 videos, done (one de-duped list for the 3 terms)|
|"tech talks"||946||tahu||2/946 (2011-04-18 13:34:27 UTC)|
|"rick astley"||17||db48x||completed, 272.8MB (grabbed 13:00 UTC April 18th 2011)|
|"CERN"||912||vled||(grabbed 13:00 UTC April 18th 2011)|
|multiple: "michio kaku",
|176||nomduclavier: in progress|
|Total||324,699||Archive Team||In progress (417.1 GB and counting)|
|-4313176927520589553||Ferrari 320 km/h SelMcKenzie||seed_videos_h|
|710915802292429594||Triple H-Best Pedigree Ever||seed_videos_h|
|7476314005948269525||Tan Tay Du Ky 2 tap 1 phan 2||seed_videos_2_k|
|1310034078921227326||Presentatie H. van Garderen||seed_videos_h|
|-8196546459051063200||Ethiopia - Ethiopian Talk Show - Dr. Kinfe M Kassaye||seed_videos_m|
|6012309833489564165||I'm gonna miss you forever||seed_videos_m|
|1006201176909432045||Nick "KNUCKLEHEAD" Thomas Learning to Ride A KX 65||seed_videos_2_k_br|
|-3505183273546479430||Top 10 Dunkers in Slam Dunk Contest History by www.todonba.mx.kz||seed_videos_2_k_bu|
|515155312540224448||Prof. Stephen Berk - The Six Day War -- (Only downloads 106MB & manual seek fails)||seed_videos_m|
|8233620694803027158||Tien Kiem Ky Hiep 12a||seed_videos_2_k_bs|
|-7026671761719496982||KV Kortrijk - Virton: kans Vervaeke||seed_videos_2_k_bo|
|-4138015874145288917||Irvine City Council Regular Meeting -- content too short (expected 880173643 bytes and served 871)||seed_videos_2_k_bo|
|1751753922865083288||Lou Dobbs - Bill Gates Testifies to Senate: Part 2||seed_videos_h|
|-840074924615574683||H.O.T. TV EPISODE 7||seed_videos_h|
- python youtube-dl googlevideourl
- apt-add-repository ppa:t-tujikawa/ppa
- apt-get update
- apt-get install aria2c
Fedora and CentOS have RPMs available.
- yum install aria2
- /usr/bin/aria2c: unrecognized option '--max-connection-per-server=16'
- The Aria version available in many linux distributions is not up to date and will throw errors.
- To fix this remove the option from the goooglegargle script line starting with "ARIAOPTIONS="
- User 'negge' on IRC reports the following ARIA command line works for Debian Squeeze
- --max-overall-download-limit=1024M --file-allocation=falloc --max-connection-per-server=4 --min-split-size=1M --log-level=notice --remote-time=true
- Is there any estimate on how many videos are on Google Video?
- Wikipedia said it has 2,500,000 videos, a semi-official Google blog mentioned 2.8M
- Is there anything about grabbing metadata for vids? like descriptions?
- Googlegrape does that, it saves the html of the video download page
- What happens to the data after you claim a seed on the wiki and download it?
- We've got 100TB of space allocated to us on archive.org, and can get more
- Is there already some space where it can be uploaded to?
- Not yet, the effort is still young and things take time to organize.
- How can I split seed files if I want to download fewer videos or share the task with others?
- On *nix machines use: split --lines=500 [seedfile] [seedfile] to create a set of files each 500 lines in length in the form seedfileaa seedfileab ... etc.
- How can I check if there are duplicates in a seed file?
- On *nix machines use: sort [infile] | uniq -d to show all duplicates.
- How can I remove duplicates from a seed file before I start to use it?
- On *nix machines use: sort [infile] | uniq -u > [outfile] to produce a new seed file with duplicates removed.
Announcement: Uploaded video content no longer available
On April 29, 2011 videos that have been uploaded to Google Video will no longer be available for playback. We’ve added a Download button to the Video Status page, so you can download videos that you want to save. If you don’t want to download your videos, you don’t need to do anything. (The Download feature will be disabled after May 13, 2011.)
How do I download videos that I've uploaded?
On the Video Status page, click Download Video located on the right side of each of your videos in the "Actions" column.Once a video has been downloaded, an "Already Downloaded" message will appear. If you have many videos on Google Video, you may need to use the paging controls located on the bottom right of the page to access them all. This download option will be available through May 13, 2011.
I've downloaded my videos. Now what do I do with these FLV files?
FLV files are videos that have been encoded in the Flash Video Format. You can upload your videos in FLV format to other video hosting sites like YouTube or Picassa Web Albums. If you would like to playback your videos on your computer and they don’t seem to be working, you might need to install an FLV player. In order to find an FLV player to install, try doing a Google search for [ FLV player ].