How do I set a wget regular?

  • 0
    Hello! When downloading the site, I get links like:

    https://site.com/&sl=&sp=nmt4&tl=&u=https://site.org/?832947r
    https://site.com/&sl=&sp=nmt4&tl=&u=https://site.net/?832947r
    https://site.com/&sl=&sp=nmt4&tl=&u=https://site.biz/?832947r
    https://site.com/&sl=&sp=nmt4&tl=&u=https://site.ru/?832947r
    https://site.com/&sl=&sp=nmt4&tl=&u=https://site.biz/?832947r

    Please tell me how to tell wget to download pages only if the link contains the text site.biz
    Linux Iris McLean, Apr 12, 2019

  • 1 Answers
  • 0
    Looking at
    wget --help

    There are parameters
    --accept-regex = REGREF - regex for allowed URLs
    --reject-regex = REGREG - regex for forbidden URL


    Have you tried it?
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!