# A yande.re Search Script `````````````````````````````````````````````````````````````````` #!/usr/local/bin/rc if(~ $BROWSER '') BROWSER = firefox if(~ $DOWNLOADER '') DOWNLOADER = curl switch($#*) { case 2 # $58: Sample, $40: Source. $DOWNLOADER 'https://yande.re/post?page='^$2^'&tags='^$1 | grep 'Post.register[^_]' | awk -F" '{print $58}' | xargs -P 50 -r -I'{}' $BROWSER '{}' case * echo 'ydr $tag $page_num'; exit } `````````````````````````````````````````````````````````````````` Since yande.re website is hard to browse, I made a search script. To run, you need rc shell. The default BROWSER is firefox. The def ault DOWNLOADER is curl. I named the script ydr. If you change the name, you should change "ydr" in the long line too. How to use it: ydr [tag name] [the page number]. For example, `ydr wallpaper 1` shows the first page of "wallpaper" tag. You might get "301 Moved Permanently" error. In this case, just re load the page. If you use Tree Style Tab, click "Select All Tabs" then "Reload Tab". To view the source images, change "print $58" into "print $40". I do not recommend though. The source images are too heavy.