Skip to content

Instantly share code, notes, and snippets.

@jermspeaks
Created February 17, 2019 07:19
Show Gist options
  • Save jermspeaks/7cbd3afbb48210c63b9413128310d13c to your computer and use it in GitHub Desktop.
Save jermspeaks/7cbd3afbb48210c63b9413128310d13c to your computer and use it in GitHub Desktop.
Manually Searching OpenDirectories on Google

Manually Searching OpenDirectories on Google

For videos/movies/tvshows :

intext:\"Search Term\" intitle:\"index.of\" +(wmv|mpg|avi|mp4|mkv|mov) -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)

Images :

intext:\"Search Term\" intitle:\"index.of./\" (bmp|gif|jpg|png|psd|tif|tiff) -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)

Music :

    intext:\"Search Term\" intitle:\"index.of./\" (ac3|flac|m4a|mp3|ogg|wav|wma) -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)

Books :


intitle:\"Search Term\" (pdf|epub|mob) \"name or title\" -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)

You can also find google drive shared files similarly.
Shared folders
Shared everything
Works with other domains too.

Some info about google search operators can be found here

Search with the help of other tools

Palined

The Eye

SCRPED

LENDX

FileChef

ewasion

lumpySoft

EoJ OD.getter

Mattpalm

Jimmyr

FilePursuit

OD-Database

Musgle

Mamont's open FTP Index

NAPALM FTP Indexer

Java Scriptlets

Save the following code as a bookmark, then you can open the bookmark to run the desired action.

Download all files with a specific extension :

javascript:!function(){var%20t=prompt(\"Enter%20filetype%20to%20download%20(format:%20.mp3)\");if(null!==t)for(var%20e=document.querySelectorAll('[href$=\"'+t+'\"]'),o=0;o<e.length;o++)e[o].setAttribute(\"download\",\"\"),e[o].click();else%20alert(\"No%20format\")}();

Resize \"Filename\" column in OD to make entire filename visible :

javascript:!function(){function e(e){var o,n,r=e.href;e.textContent=(n=(o=r).split(\"/\").filter(Boolean).reverse()[0],console.log(n),o.lastIndexOf(\"/\")==o.lenght-1&&(n+=\"/\"),n=n.indexOf(\" \")>=0?decodeURI(n):decodeURIComponent(n))}anchors=document.body.querySelectorAll(\"a\"),anchors=Array.from(anchors).slice(1),anchors.map(e)}();

Display pictures as thumbnails :

javascript:(function(){function%20I(u){var%20t=u.split('.'),e=t[t.length-1].toLowerCase();return%20{gif:1,jpg:1,jpeg:1,png:1,mng:1}[e]}function%20hE(s){return%20s.replace(/&/g,'&').replace(/>/g,'>').replace(/</g,'<').replace(/\"/g,'"');}var%20q,h,i,z=open().document;z.write('<p>Images%20linked%20to%20by%20'+hE(location.href)+':</p><hr>');for(i=0;q=document.links[i];++i){h=q.href;if(h&&I(h))z.write('<p>'+q.innerHTML+'%20('+hE(h)+')<br><img%20src=\"'+hE(h)+'\">');}z.close();})()

Display pictures as thumbnail gallery :

javascript:var%20sHTML=%22<html><head><title>gallery</title><body><center><table%20border=0>%22;var%20y=0;for(x=0;x<document.links.length;x++){a=document.links[x].href;%20if%20(a.match(/jpe|jpeg|jpg|bmp|tiff|tif|bmp|gif|png/i)){sHTML+='<td%20style=%22border-style:solid;border-width:1px%22><a%20target=%22_new%22%20href=%22'+a+'%22><img%20border=%220%22%20width=%22100%22%20src=%22'+a+'%22></a></td>';%20if%20(!((x+1)%5))%20sHTML+=%22</tr><tr>%22}};this.innerHTML=sHTML+%22</table></center></body></html>%22;

The-Eye Image Viewer :

javascript:void(window.open('https://fusker.the-eye.eu/url.php?url='+encodeURIComponent(document.URL).replace(/\\./g,'%25252E')));

Another [Linked Images Bookmarklet](https://web.archive.org/web/20180803113222/http://fuseki.net/home/linked-images-bookmarklet.html).  

More bookmarklets.

Softwares

wget project page

wget for Windows

wget A Noobs Guide (PDF) by u/regravity.

How to install wget on OSX by u/nucleocide.

There are other softwares that provide wget with a GUI like Gwget and WinWGet though I've never used them and hence can't comment on their reliability.

youtube-dl (Python) downloads videos from various sites. Just like wget you can find GUI frontend for this.

RipMe (Java) is an album ripper for various websites.

HTTrack Website Copier (Windows/Linux/OSX/Android) can mirror entire websites.

Other download helpers you should try :

Adware free JDownloader (Win/Linux/OSX/Java) Has GUI

xdm (Win/Linux/OSX/Java) Has GUI.

uGet (Win/Linux/OSX/Android) Has GUI.

curl (Win/Linux/OSX/...) Command line tool.

aria2 (Linux/OSX) Command line. A web-based UI is also available.

axel (Linux/OSX) Command line tool.

Rclone (Win/Linux/OSX) Command line tool.
Rclone has some great commands that can list files, print remote directory size or even mount it as mountpoint. Here is a list of all commands. I recommend you to go through their entire website.

You can also use httpdirfs, which is made by a redditor who posted it here to mount the remote directory as mountpoint. It even appears to be somewhat faster than "rclone mount".

####opendirectories-bot /u/opendirectories-bot reports (used to report?) the size along with a list of links to all files in the directory that gets posted in /r/opendirectories. Since it's open source you can download the bot and generate the report yourself. The git-hub repo is available here, just follow the instructions given in README.md file.

Related Subreddits

/r/Archiveteam

/r/DataArchive

/r/datacurator

/r/DataHoarder

/r/JustArchivistThings

/r/musichoarder

/r/opendirectories

/r/rclone

/r/wget

Sites

The-Eye

Archive.org

The Trove

This is all I could think/know related to open directories. If you think anything else should be included please let me know..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment