Writing webscraped data into a text file, but it only writes in and repeats a copy of the first element from all (3) of the data sets I scraped from

前端 未结 0 1275
挽巷
挽巷 2020-11-29 17:43
import requests
import bs4

url = \'https://tjmaxx.tjx.com/store/shop/_/N-1791108153?searchTerm=rae+dunn\'
    headers = {
    \'User-Agent\': \'Mozilla/5.0 (X11; Li         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题