MarioVilas / googlesearch

Google search from Python (unofficial).
BSD 3-Clause "New" or "Revised" License
1.14k stars 390 forks source link

TypeError: '<' not supported between instances of 'int' and 'str' #64

Closed erikhayton closed 4 years ago

erikhayton commented 5 years ago

Hey Mario,

I know this is a common issue in python, but I'm not sure how to fix it in your source code.

/googlesearch/__init__.py", line 345, in search while not stop or start < stop: TypeError: '<' not supported between instances of 'int' and 'str'

Thanks for putting this together. Can't wait to try it!

MarioVilas commented 5 years ago

Looks like you passed a string like "2" instead of the number 2 (for example).