Skip to main content
added 99 characters in body
Source Link
Chris
  • 1.2k
  • 2
  • 9
  • 20

I'm using lynx to dump a website.

lynx -dump https://URL.com > file.txt

Some URL's are split onto 2 lines and I would like to stop that if possible. Do I have any options?

I run a sed command that removes lines not starting with http, so you can see the problem.

Thanks, Chris

Edit: I should add that the links I want do not get put in the visible or hidden link sections.

I'm using lynx to dump a website.

lynx -dump https://URL.com > file.txt

Some URL's are split onto 2 lines and I would like to stop that if possible. Do I have any options?

I run a sed command that removes lines not starting with http, so you can see the problem.

Thanks, Chris

I'm using lynx to dump a website.

lynx -dump https://URL.com > file.txt

Some URL's are split onto 2 lines and I would like to stop that if possible. Do I have any options?

I run a sed command that removes lines not starting with http, so you can see the problem.

Thanks, Chris

Edit: I should add that the links I want do not get put in the visible or hidden link sections.

Source Link
Chris
  • 1.2k
  • 2
  • 9
  • 20

lynx can I stop it splitting urls?

I'm using lynx to dump a website.

lynx -dump https://URL.com > file.txt

Some URL's are split onto 2 lines and I would like to stop that if possible. Do I have any options?

I run a sed command that removes lines not starting with http, so you can see the problem.

Thanks, Chris