hellock / icrawler

A multi-thread crawler framework with many builtin image crawlers provided.
http://icrawler.readthedocs.io/en/latest/
MIT License
857 stars 174 forks source link

remove extra offset in BaiduImageCrawler #11

Closed sibojia closed 7 years ago

sibojia commented 7 years ago

the offset in baidu.py causes the feeder to skip the first 30 results. I guess this is not an intended effect, or am I missing something?

Thanks!

hellock commented 7 years ago

When I first wrote this code, it was very strange that the parameter in baidu api seemed to represent the end index other than the start index, so it was set to begin from 30. It now changed to normal mode so I think your modification is correct.