Allow to create spider with custom templates
See original GitHub issueI don’t know, am I wrong, but is it possible now to create custom templates and create spiders with scrapy genspider -t <custom_template> <name> <domain>
? As I see in source code, user can set custom template folder in TEMPLATE_FOLDER variable, but is there any documentation about template language, which using in template?
Actually, I’ve planned to work on PR with possibilities to create custom templates, but probably it’s already implemented. May be just add documentation about this feature?
UPD. Ah, I see, that _genspider
using render_templatefile
, which just using string.Template().substitute()
to render template and save .py file
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Create a Spider Diagram Online and Free - EDIT.org
Make a Spider Diagram for writing by selecting a template from the best collection of designs. Customize it online quickly and professionally.
Read more >Spider Diagram Maker | Spider Diagram Templates and Tips
Spider diagram maker to visualize and organize ideas in a logical way. Easy-to-use spider diagram templates and tips to get you started right...
Read more >How to create spider charts in Google Sheets - EdrawMax
Using Templates To Create Spider Charts in EdrawMax (Fast!) ... here is a video tutorial on creating a spider chart/radar chart on Google...
Read more >How to create a Custom API integration template? - SyncSpider
First, login to your SyncSpider account, click on the option 'Custom Templates' on the left side of the screen as shown below.
Read more >Weaving Ideas with Spider Diagrams | Lucidchart Blog
To make things even easier, try starting with a Lucidchart spider diagram template. Open the template and fill in your own information, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kmike Ok, I’ll make PR with some explanation about .tmpl files and necessary arguments, which need to be in templates. Thanks for the discussion 😃
@DrJackilD ping