I\'m a little new to Python and very new to Scrapy.
I\'ve set up a spider to crawl and extract all the information I need. However, I need to pass a .txt file of U
you could simply read-in the .txt file:
with open('your_file.txt') as f: start_urls = f.readlines()
if you end up with trailing newline characters, try:
with open('your_file.txt') as f: start_urls = [url.strip() for url in f.readlines()]
Hope this helps