This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
import twitter | |
import tw_key | |
CONSUMER_KEY = tw_key.twdict['cons_key'] | |
CONSUMER_SECRET = tw_key.twdict['cons_sec'] | |
ACCESS_TOKEN_KEY = tw_key.twdict['accto_key'] | |
ACCESS_TOKEN_SECRET = tw_key.twdict['accto_sec'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "Error: only one input file is allowed" | |
exit 1 | |
else | |
echo "Input: $@" | |
FILE_NUM=1 | |
for URL in `cat $1` | |
do |
NewerOlder