Answer the question
In order to leave comments, you need to log in
How to save all internal links of a site?
Hello. Help me please.
It is necessary to save all site links starting with - https://www.forexfactory.com/showthread.php?t=
into a text file. I
found an example, but how to apply it...
wget -q https://www.forexfactory.com -O - | \
tr "\t\r\n'" ' "' | \
grep -i -o '<a[^>]\+href[ ]*=[ \t]*"\(ht\|f\)tps\?:[^"]\+"' | \
sed -e 's/^.*"\([^"]\+\)".*$/\1/g'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question