zbryikt / ptt-crawler

crawl ptt articles from its website
35 stars 16 forks source link

Not work with LiveScript 1.3.0 #3

Open youchenlee opened 9 years ago

youchenlee commented 9 years ago
./node_modules/.bin/lsc crawler.ls CodeJob
Can't find: CodeJob.ls

1.2.0 is okay

fbukevin commented 9 years ago

Report 1.3.1 is okay

~/Desktop/ptt-crawler$ lsc -v
LiveScript version 1.3.1
~/Desktop/ptt-crawler$ lsc crawler.ls CodeJob
fetching board 'CodeJob'...
analyzing how many lists to fetch...
total 279 list pages. 
list 279 null 200
list 278 null 200
list 277 null 200
list 276 null 200
list 275 null 200
list 274 null 200
list 273 null 200
youchenlee commented 9 years ago

Thanks, perhaps it was a LiveScript upstream issue.

zbryikt commented 9 years ago

I myself can't run it correctly with Lievscript 1.3.1, so I sent a minor patch. There are still issues about Livescript argv across different version so I'll take a look at this: https://github.com/gkz/LiveScript/issues/610

youchenlee commented 9 years ago

Thanks for the comment, @zbryikt .