binux / pyspider

A Powerful Spider(Web Crawler) System in Python.

Home Page:http://docs.pyspider.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to pass in external argument to on_start callback?

al3rez opened this issue · comments

  • pyspider version: 0.3.10
  • Operating system: macOS BigSur
  • Start up command: env LC_ALL=en_US.utf-8 LANG=en_US.utf-8 pyspider --version

Expected behavior

I'm quite new to this framework how can I pass in a dynamic value into on_start callback? for example; sending different keywords and crawling them?