public
Fork of mja/aviary
Description: A Twitter archiver, making tweets safe for historians.
Clone URL: git://github.com/gtcaz/aviary.git
Download tweets from any user (don't authenticate any requests)
Mark James Adams (author)
Sat Mar 08 07:23:44 -0800 2008
commit  10e54802df89afc20e35dc91ae0d72c8bab8a73f
tree    8ab0229ed93450f5f2e5d724bc7cc6f32dca6237
parent  0bd19f1b76f77f7e98a59083c82c7a04d187463e
...
24
25
26
27
 
28
29
30
...
106
107
108
109
 
110
111
112
...
24
25
26
 
27
28
29
30
...
106
107
108
 
109
110
111
112
0
@@ -24,7 +24,7 @@ def hark(page)
0
     Net::HTTP.start('twitter.com') { |twitter|
0
   
0
       home = Net::HTTP::Get.new(page)
0
- home.basic_auth $options[:user], $options[:password]
0
+ #home.basic_auth $options[:user], $options[:password]
0
       puts "Retrieving " + page + " ..."
0
       response = twitter.request(home)
0
   
0
@@ -106,7 +106,7 @@ Dir.new($options[:user]).select {|file| file =~ /\d+.xml$/}.each{|id_xml|
0
   $statuses.push(id_xml.gsub('.xml', ''))
0
 }
0
 
0
-hark("/account/archive?page=#{$options[:page]}")
0
+hark("/#{$options[:user]}?page=#{$options[:page]}")
0
 
0
 
0
 

Comments

    No one has commented yet.