Skip to content

Commit

Permalink
chore: update start_urls tmpl && clean up templates
Browse files Browse the repository at this point in the history
  • Loading branch information
shengchenyang committed May 17, 2024
1 parent b34ec73 commit 9a4b31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ayugespidertools/templates/spiders/xmlfeed.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ from scrapy.spiders import XMLFeedSpider
class $classname(XMLFeedSpider):
name = "$name"
allowed_domains = ["$domain"]
start_urls = ["http://$domain/feed.xml"]
start_urls = ["$url"]
iterator = "iternodes" # you can change this; see the docs
itertag = "item" # change it accordingly

Expand Down

0 comments on commit 9a4b31d

Please sign in to comment.