How do I use Git on Mac to download videos file?

Siemreapblog

Regular Member
Joined
Jan 3, 2019
Messages
227
Reaction score
34
Hi, how do I use the Git command to download simultaneously download a batch video files in one go? I know it can be done but I just don't know how.

The file extension is ( .sh ) and codes as below

mkdir "download-video"
explorer "download-video"
curl --retry 3 -L -H 'User-Agent: -' 'http://jsv2.a.ymgs.com/upic/2020/09...58efb60372&type=hot&tt=b&di=da4c3eae&bp=10072' > 'download-video/0_40.mp4'
curl --retry 3 -L -H 'User-Agent: -' 'http://jsv2.a.yims.com/upic/2020/07...8efb604372&type=hot&tt=b&di=da4c3eae&bp=10072' > 'download-video/1_38508.mp4'

Please I needed your help

Thank You
 
I take it this is in Windows command prompt?

try start /b before each curl, for example:

Code:
start /b curl --retry 3 -L -H 'User-Agent: -' 'http://jsv2.a.ymgs.com/upic/2020/09/12/10/BMjAyMDA5MTIMDUxNTZfMTA4MjczOTIF8zNTg5MTI2MTM5M18xXzM=_b_B4e81907161a2ea563c178ea3632e12b2.mp4?tag=1-1603712623-p-0-5967be10b83044ab-3d4b358efb60372&type=hot&tt=b&di=da4c3eae&bp=10072' > 'download-video/0_40.mp4'
start /b curl --retry 3 -L -H 'User-Agent: -' 'http://jsv2.a.yims.com/upic/2020/07/01/03/BMjAyMDA3MDEMzA2NDRfMTA4MjczOTIxMF8zMTUxMTUyODI0OF8xXzM=_b_B729db1c116ae3f8846df3ee3be01bb3a.mp4?tag=1-1603712623-p-0-5967be10b83044ab-3d4b358efb604372&type=hot&tt=b&di=da4c3eae&bp=10072' > 'download-video/1_38508.mp4'
 
Back
Top