question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Import Request in the Template file

See original GitHub issue

I have been creating many spiders recently, and I noticed I had to add below line every time

from scrapy.http import Request

I think for most cases we need the Request to crawl to other pages, only for very simple spider we don’t need that. Is it possible to include that line to the template?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
keremgocencommented, Oct 30, 2020

I’d like to grab this if that’s ok

0reactions
keremgocencommented, May 5, 2021

Hey @marlenachatzigrigoriou, sorry I had to drop this. Feel free to drop a comment here if there are any blockers I’m sure someone will help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Importing requests From XLS file - ServiceDesk Plus
ServiceDesk Plus allows you to import requests in bulk through XLS files. This option is especially useful for importing requests from one SDP...
Read more >
Request Templates | Import | 4me API
Request Templates can be imported into 4me using UTF-8 or UTF-16LE encoded comma-separated values (CSV) or tab-separated values (TSV) files.
Read more >
Access request in django custom template tags - Stack Overflow
I've done this way: from django import template register = template.Library ...
Read more >
Importing Requests from XML Files
You can use menu option Import Request from XML to import XML files as requests. The web page takes an XML file as...
Read more >
Importing Bulk Request Data from a Template File
To save time when creating a bulk request, you can import the data from a template XML file to populate the action sets,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found