NasirKhalid24 / Wally

Open-WA based Whatsapp account to automate tasks
0 stars 1 forks source link

YouTube Command #5

Closed NasirKhalid24 closed 4 years ago

NasirKhalid24 commented 4 years ago

If a user sends a Youtube link it gets converted to a video and sent back to them

NasirKhalid24 commented 4 years ago

Plan is to use ytdl-core to fetch and pipe video back to user - will look in to it more

NasirKhalid24 commented 4 years ago

Before downloading/sending youtube video the function should:

  1. Check that video is not private - if private then return to user saying they are trying to download private video
  2. Check duration of video - lets keep it to a 5 minute maximum
  3. Send a message saying '{TITLE OF VIDEO HERE} found - processing...'

Anything else? @adib1996

adib1996 commented 4 years ago

Done, please validate @NasirKhalid24

Waiting on changes on "decode_message" to check objects for arguments.