Skip to content

Instantly share code, notes, and snippets.

@twittoru
Created November 30, 2012 14:31
Show Gist options
  • Save twittoru/4176101 to your computer and use it in GitHub Desktop.
Save twittoru/4176101 to your computer and use it in GitHub Desktop.
curl -d"q=select * from html where url='http://d.hatena.ne.jp/mamoruk/archive?word=$(($RANDOM % 1550))' and xpath='//li[contains(concat(\" \",@class,\" \"),\" archive-section \")]/a' limit 1 offset $(($RANDOM % 50))" http://query.yahooapis.com/v1/public/yql
@twittoru
Copy link
Author

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