- Timestamp:
- Sep 23, 2012 12:29:03 PM (12 years ago)
- Branches:
- master, trunk
- Children:
- 6852f37
- Parents:
- 1727505
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/twitter/dump_timeline.pl
r2b6eb0b r52c76fd 19 19 die <<EOM; 20 20 usage: $0 21 [{u}ser_timeline(default)|{r}etweeted_by_me|{m}sentions 21 [{u}ser_timeline(default)|{r}etweeted_by_me|{m}sentions|{s}earch 22 22 [screen_name 23 23 [number_of_pages|all … … 70 70 elsif ($method eq 'mentions' || $method eq 'm') { 71 71 $res = $bot->mentions($param); 72 } 73 elsif ($method eq 'search' || $method eq 's') { 74 my $key; 75 foreach my $word (@{ $conf->{hashtag} }) { 76 if ($key) { 77 $key .= " OR $word"; 78 } 79 else { 80 $key = $word; 81 } 82 } 83 $param->{q} = $key; 84 $res = $bot->search($param)->{results}; 72 85 } 73 86 else {
Note: See TracChangeset
for help on using the changeset viewer.