fetchURLs_and_write2html.sh 288 B

12345678910111213
  1. # Copyright (c) 2020 NVIDIA Corporation. All rights reserved.
  2. #!/bin/bash
  3. export PATH="${PATH}:${HOME}/.local/bin"
  4. input="NVdevblog_urls.txt"
  5. CNT=0
  6. while IFS= read -r line
  7. do
  8. c="./htmls/response_${CNT}.html"
  9. echo "$c"
  10. scrapy fetch --nolog $line > $c
  11. ((CNT+=1))
  12. done < "$input"