superolmo / pyxtream

Loads xtream IPTV
GNU General Public License v3.0
22 stars 9 forks source link

Sleep function seemingly delaying initial requests unnecessarily #11

Open po1xi548Rysh8BH6 opened 4 months ago

po1xi548Rysh8BH6 commented 4 months ago

I'm not sure how to create a PR (I don't use GitHub) but would you be willing to move this delay from line 952 to line 973? This change potentially reduces the runtime of my xstream processing script by 143 minutes.

https://github.com/superolmo/pyxtream/blob/cd9f4160bb7be7da3e0a93d2bda6ec0dbd01bd36/pyxtream/pyxtream.py#L940-L974

superolmo commented 3 months ago

Let me test it on my end and let you know. I believe the reason for being in there is because some providers are slow.