Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG+1] Add support for executing scrapy using -m option of python #2740

merged 1 commit into from May 18, 2017


Copy link

@luzfcb luzfcb commented May 16, 2017

This pull-request enable execute scrapy from python module.

python -m scrapy

On windows, this probably works, too. Although I did not test because I do not have Windows

py -3 -m scrapy

Copy link

Codecov Report

Merging #2740 into master will decrease coverage by 0.01%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2740      +/-   ##
- Coverage   84.75%   84.73%   -0.02%     
  Files         162      163       +1     
  Lines        9155     9158       +3     
  Branches     1358     1359       +1     
+ Hits         7759     7760       +1     
- Misses       1145     1146       +1     
- Partials      251      252       +1
Impacted Files Coverage Δ
scrapy/ 33.33% <33.33%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dfe6d3d...df7a5c4. Read the comment docs.

@kmike kmike changed the title Add support for executing scrapy using -m option of python [MRG+1] Add support for executing scrapy using -m option of python May 18, 2017
Copy link

kmike commented May 18, 2017

+1 to merge, I also wanted to add this feature.

Copy link
Contributor Author

luzfcb commented May 18, 2017

For reference, I've learned to do this based on this pull-request, done by one of Python's core commiters


@redapple redapple merged commit 1438104 into scrapy:master May 18, 2017
@redapple redapple added this to the v1.4 milestone May 18, 2017
@luzfcb luzfcb deleted the luzfcb-run-scrapy-from-module branch May 18, 2017 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

4 participants