Skip to content

Allow USER_AGENT_LIST to be list or function#12

Open
JuroOravec wants to merge 1 commit into
cnu:masterfrom
JuroOravec:master
Open

Allow USER_AGENT_LIST to be list or function#12
JuroOravec wants to merge 1 commit into
cnu:masterfrom
JuroOravec:master

Conversation

@JuroOravec

Copy link
Copy Markdown

I fetch the user agent lists at the beginning of a crawl. Rather than having to temporarily save them to files, this PR allows the variable in settings to be also list/tuple of user agent entries or a function which generates one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant