elliotgao2 / gain

Web crawling framework based on asyncio.
GNU General Public License v3.0
2.03k stars 207 forks source link

Separate Follower from Parser. #3

Closed elliotgao2 closed 7 years ago

elliotgao2 commented 7 years ago

Now:

Parser('/\d{4}/\d{2}/') # follow
Parser('/post/\d+$', Post) #parse

This would be better

Follower('/\d{4}/\d{2}/') # follow
Parser('/post/\d+$', Post) #parse
elliotgao2 commented 7 years ago

Not a good idea.