Zaarrg / DropBot

Drop Bot. Automaticlly Farms every Drop available like Rust for ya and now also your Custom Channel's
396 stars 121 forks source link

Twitch URL Interpreted as Invalid #53

Closed hifocus closed 2 years ago

hifocus commented 2 years ago

Steps to reproduce

git clone https://github.com/Zaarrg/TTVDropBot
cd TTVDropBot
yarn install
yarn start:production

Select custom channel - Warframe Enter url: https://twitch.tv/warframe

>> Please provide a Valid URL...

Similarly, yesterday while Warframe was live, the current dev channel cannot be auto-watched correctly (Select Warframe Campaign - Prime Time xxx) - it returns an error similar to #50, I recall it was something to do with the GAMEID, but I've lost my log due to a restart. Other channels/campaigns seemed to be fine.

image

No Custom Channels Found...
? Do you wanna add a Custom Channel? Yes
? Please provide a Name for this Custom Channel: r6
? Please provide the Twitch Url: https://twitch.tv/rainbow6
>> Please provide a Valid URL...
Zaarrg commented 2 years ago

As also mentioned in the section Adding-Custom-Channels in the readme, you are missing the www. A vaild url Looks like this: https://www.twitch.tv/xqcow

DreamPhreak commented 2 years ago

URLs without www are valid elsewhere on the internet, why not accept them here?