Skip to content

Conversation

@noviluni
Copy link
Member

@noviluni noviluni commented Jul 13, 2020

I updated the spider code to follow modern guidelines, and the auto-generated files with the current docs URLs.

After that, I just realized that there was an old PR changing the extract()/extract_first() to get()/getall().
Closes: #7


# Crawl responsibly by identifying yourself (and your website) on the user-agent
#USER_AGENT = 'quotesbot (+http://www.yourdomain.com)'
# USER_AGENT = 'holidaygems (+http://www.yourdomain.com)'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?


# Configure maximum concurrent requests performed by Scrapy (default: 16)
#CONCURRENT_REQUESTS = 32
# CONCURRENT_REQUESTS = 32
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although not PEP8, I believe the comment spacing in lines like this one is correct for its purpose, which is marking commented out code, as opposed to code comments. I think we need to think of this file as a template for users, and hence leave it like that.

Also, I’m guessing this may be the result of scrapy startproject or similar, in which case the file contents should match those generated by Scrapy.

mikespub added a commit to mikespub-archive/scrapytest that referenced this pull request Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants