Jump to content




How to download a webpage source

networking

  • You cannot reply to this topic
10 replies to this topic

#1 thecrimulo

  • Members
  • 87 posts
  • Locationhere

Posted 01 July 2016 - 04:19 PM

Hello there!

So, I'm trying to download a file, I can use pastebin for that, but I need to download some sources from webpages, for example, GitHub. I don't want a GitHub downloader, I want to download the page source and save it into a file.

Thanks
~ thecrimulo

#2 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 01 July 2016 - 04:44 PM

Try the wget program.

#3 thecrimulo

  • Members
  • 87 posts
  • Locationhere

Posted 01 July 2016 - 07:55 PM

It errors for me. event = "key_up", eUrl = 28, content=""

#4 Luca_S

  • Members
  • 407 posts
  • LocationGermany

Posted 05 July 2016 - 03:31 PM

What? This is strange. Could you post a link to what you are trying to download?

#5 Lemmmy

  • Members
  • 218 posts

Posted 05 July 2016 - 05:33 PM

View Postthecrimulo, on 01 July 2016 - 07:55 PM, said:

It errors for me. event = "key_up", eUrl = 28, content=""

if it helps, you need to pass in a URL like this (though this is probably unrelated to your error):
https://raw.githubus...branch/file.ext

#6 thecrimulo

  • Members
  • 87 posts
  • Locationhere

Posted 05 July 2016 - 05:33 PM

I was testing with two pages, https://google.com, a complex one and unindented, and https://example.org, which is simple and indented

#7 Lemmmy

  • Members
  • 218 posts

Posted 05 July 2016 - 05:36 PM

View Postthecrimulo, on 05 July 2016 - 05:33 PM, said:

I was testing with two pages, https://google.com, a complex one and unindented, and https://example.org, which is simple and indented

exactly what command were you typing?

#8 thecrimulo

  • Members
  • 87 posts
  • Locationhere

Posted 05 July 2016 - 05:37 PM

I was testing with two pages, https://google.com, a complex one and unindented, and https://example.org, which is simple and indented

#9 Lemmmy

  • Members
  • 218 posts

Posted 05 July 2016 - 05:38 PM

View Postthecrimulo, on 05 July 2016 - 05:37 PM, said:

I was testing with two pages, https://google.com, a complex one and unindented, and https://example.org, which is simple and indented

exactly what command were you typing?

#10 thecrimulo

  • Members
  • 87 posts
  • Locationhere

Posted 05 July 2016 - 05:44 PM

I'm on a server with a version that doesn't have builtin wget, so i tried http://www.computercraft.info/forums2/index.php?/topic/22036-wget-program-file-downloader-gui-much-wow/

#11 Lemmmy

  • Members
  • 218 posts

Posted 05 July 2016 - 05:54 PM

View Postthecrimulo, on 05 July 2016 - 05:44 PM, said:

I'm on a server with a version that doesn't have builtin wget, so i tried http://www.computercraft.info/forums2/index.php?/topic/22036-wget-program-file-downloader-gui-much-wow/

then that's a problem with the program itself





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users