Browse Source

Merge "Clean imports in code"

tags/1.8.0
Zuul 1 year ago
parent
commit
d15c10e699
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      sitemap/generator/spiders/sitemap_file.py

+ 2
- 2
sitemap/generator/spiders/sitemap_file.py View File

@@ -18,7 +18,7 @@ except ImportError:
import urllib.parse as urlparse

from scrapy import item
from scrapy.linkextractors import LinkExtractor
from scrapy import linkextractors
from scrapy import spiders


@@ -43,7 +43,7 @@ class SitemapSpider(spiders.CrawlSpider):

rules = [
spiders.Rule(
LinkExtractor(
linkextractors.LinkExtractor(
allow=[
r'.*\.html',
r'.*\.pdf',

Loading…
Cancel
Save