So far we have completed all the work that needs to be opened for an indicator. Next, we test our crawler and submit a pull-request.
Change to the root directory of the project
$ scrapy crawl idx-contract-position-ratio
idx-contract-position-ratio is the name of the crawler, which we defined in the code.
idx-contract-position-ratio
If the corresponding template content can be printed normally according to our expectations, the test is passed
The only thing to do next is to submit a pull-request on Github, and then wait for the review of the staff.
Last updated 3 years ago