Sfoglia il codice sorgente

Merge "Clean imports in code"

tags/1.8.0
Zuul Gerrit Code Review 2 anni fa
parent
commit
d15c10e699
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      sitemap/generator/spiders/sitemap_file.py

+ 2
- 2
sitemap/generator/spiders/sitemap_file.py Vedi 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…
Annulla
Salva