Changeset 869 for lang/lua

Show
Ignore:
Timestamp:
10/30/07 10:03:00 (13 months ago)
Author:
mattn
Message:

lang/lua/LuaScraper/examples/twitter_scrape.lua: fixed that result handler in example script.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/lua/LuaScraper/examples/twitter_scrape.lua

    r834 r869  
    1010      process {'//a[@rel="bookmark"]', 'url', '@href'}, 
    1111    }}, 
    12   result = 'friends'; 
     12  result 'status' 
    1313} 
    1414 
    1515function dump(r) 
    16   print('-') 
     16  print("-") 
    1717  for k,v in pairs(r) do 
    1818    if type(v) == "table" then