xtekky / TikTok-ViewBot

ViewBot using requests | Fast, no selenium | Custom Views count and clean Design
https://t.me/onlpx
Apache License 2.0
1.21k stars 486 forks source link

Update main.py #88

Closed 24rr closed 1 year ago

24rr commented 1 year ago

Fixed Issue #87

This code will check if the list returned by findall is not empty, and only access the first element in the list if the list is not empty. This should prevent the IndexError from occurring.

xtekky commented 1 year ago

Thanks a lot have been busy lately