Category : curl

Why does the same curl -o file https://www.link.com/ command output different things? For example if i run the command curl -o source.txt https://www.youtube.com/playlist?list=PLIx6FwnpuyNW9RxmWaGzKumLu-gUPy-q4 with a YouTube playlist link. Linux output everything including all of the entries (titles, thumbnails, links, etc.). Windows on the other hand will only output the layout of the page, skipping everything ..

Read more

I am using the tiny-process-library to execute cURL commands, which uses CreateProcess under the hood on Windows. I have trouble uploading files on Windows but not on macOS. When trying to upload a file with japanese characters in the name I always run into the error callback with the cURL-warning curl: Can’t open ‘C:/Users/bob/AppData/Local/Temp/?.mp3’! Now ..

Read more

My problem is the following: I scripted a workaround to automatise the download of program files containing version numbers in its file names like programv1.55.50.zip (http or https sites). The workaround is coming from linear rising version numbers (predecessor is version 1.55.49, actual is 1.55.50 and successor "maybe" 1.55.51) I used excel to build rows ..

Read more

As I made a batch file to update NirSoft tools (https://www.nirsoft.net/) I made a strange experience using wget. First I downloaded a text file with pad links: wget http://www.nirsoft.net/pad/pad-links.txt –backups=20 –append-output=C:PathUpdateLOGNirsoft%Timestamp%_NirSoft.log After I used fart (https://github.com/jonshipman/fart-js) to delete rows I do not need from the pad-links.txt file. Also I used that program to change the ..

Read more