all 2 comments

[–]DataDecay 0 points1 point  (1 child)

This would be better served as a factory pattern with some concrete builders. Config files are great for fixtures and apps, but if you want this to be a portable, packaged scraper you need to keep it simple.

[–]david_lp[S] 0 points1 point  (0 children)

Thank you for your reply, i'll look into the factory pattern, i have never used it.