no standard
Automatically generated anchor/fragment/identifier/whatever for heading is widely supported, but has several issues:
- cannot grep the definition
- before/after the heading, add a comment with the anchor?
- clunky and verbose
import scrapy | |
from scrapy.crawler import CrawlerProcess | |
from scrapy import signals | |
from multiprocessing import Process, Queue | |
class QuotesSpider(scrapy.Spider): | |
name = "quotes" | |
start_urls = [ | |
'http://quotes.toscrape.com/page/1/', | |
] |