Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

If I run:

wget 'http://beforeitsnews.com/stories/in/0000000000000013' -O -

I can't see the news...why? How can i wget or curl this site, so that i can see the news on it? I can't even browse it with elinks :(

share|improve this question
    
...if it had no JS, you could use $ lynx -dump yoursite.com (a killer cmd) –  user2362 Jan 14 '12 at 20:54
add comment

3 Answers 3

up vote 2 down vote accepted

That site requires JavaScript to be enabled. None of the tools you mention can interpret JavaScript.

share|improve this answer
1  
and how could i download the sites content via command line? :\ –  LanceBaynes Mar 23 '11 at 22:36
2  
You'd try to find a tool that can display a page like a GUI browser. I don't know of one. Try to see if one of them (Firefox, Chrome, Opera, ...) has a command line switch like "-dump". Try to see if there is a program that can mechanize a GUI browser. –  glenn jackman Mar 24 '11 at 1:00
1  
elinks supports JavaScript. Rather, ECMAScript. –  amphetamachine Apr 3 '11 at 15:47
add comment

Links2 with a trigger of -g should take care of that JavaScript problem.

You'll might need some tweaking to do to meet your monitor or terminal for that there is always a man page.

share|improve this answer
add comment

I suspect you might like Fake.app, but I have no idea to what extent it offers saving/output. Perhaps with Fake and Automator you could load the page, save a snapshot, move to the next page number?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.