Step5: Test and Pull Request

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.

Test Our Crawler

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.
If the corresponding template content can be printed normally according to our expectations, the test is passed

Pull Request

The only thing to do next is to submit a pull-request on Github, and then wait for the review of the staff.