https://github.com/code-hex/twippai
Perl、Python、RubyでTwitterからたくさんのおっぱいをダウンロードする
https://github.com/code-hex/twippai
Last synced: 4 months ago
JSON representation
Perl、Python、RubyでTwitterからたくさんのおっぱいをダウンロードする
- Host: GitHub
- URL: https://github.com/code-hex/twippai
- Owner: Code-Hex
- Created: 2014-09-01T02:17:21.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-08-19T16:11:12.000Z (over 7 years ago)
- Last Synced: 2024-10-24T05:30:32.221Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 12.1 MB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
twippai
=======
Perl、Python、RubyでTwitterからたくさんのおっぱいをダウンロードするっていうのを作った!
https://github.com/Code-Hex/twippai
##参考:
###Ruby:
https://gist.github.com/mitukiii/2775321
###Python:
http://jp.python-requests.org/en/latest/ ←神!!
http://www.gesource.jp/programming/python/code/0008.html
##元ネタ
プログラミングのきっかけを作ってくれたゆーすけべーさんの記事
http://yusukebe.com/archives/20120229/072808.html
##使い方

cd でディレクトリを変更しなかった場合、data フォルダはホームディレクトリに作成されます。
Perl:
LWP::Authen::OAuth
Path::Class
JSON::XS
のモジュールを sudo cpan install でインストールすれば、このスクリプトは使えるはず...
%cd (スクリプトが入ってるディレクトリ)
%perl twi.pl
Python:
json
requests
hashlib
requests_oauthlib
のモジュールを sudo pip install でインストールすれば、このスクリプトは使えるはず...
※Python だけ実行中の表示が違います。
%cd (スクリプトが入ってるディレクトリ)
%pyton twi.py
Ruby:
faraday
simple_oauth
faraday_middleware
のモジュールを sudo gem install でインストールすれば、このスクリプトは使えるはず...
%cd (スクリプトが入ってるディレクトリ)
%ruby twi.rb