I am building my community a archive website. That will have my past broadcast from my stream. but I need help to make it automatic. It needs to automatic pull the past broadcast and download it off the twitch website and put it in to a folder and rename it pb_1.mp4 or what ever. Could someone please help me?
Twitch does not support the saving of VoDs, so I am doubtful you will find assistance here. You will most likely need to reverse engineer their protocol yourself or hire someone to do it for you if you want raw files.
If you just want to share VoDs, you can use embed codes to embed them instead. Check out the embed documentation on GitHub: