summaryrefslogtreecommitdiff
path: root/src/process_url.c
AgeCommit message (Collapse)AuthorFilesLines
2023-08-08process_url: change strings to be dynamic allocatedMole Shang1-5/+6
2023-08-08process_url: do not block ui thread on callbackMole Shang1-2/+4
2023-08-07hinata: support specifying cookies in curl_easyMole Shang1-1/+5
We use tomlc99 to parse strings. To use cookies for higher resolution video downloading, add a config.toml in the executable path. e.g. ```filename: config.toml cookie="SESSDATA=xxx; some_more_cookie=xxx" ```
2023-08-07process_url: use goto to simplify error processingMole Shang1-8/+5
2023-08-07process_url: add retries while downloadingMole Shang1-3/+10
2023-08-07process_url: free malloc'd dataMole Shang1-3/+4
2023-08-07utils: split type definition code into utils/typesMole Shang1-1/+2
2023-08-07utils: move to a separate folderMole Shang1-1/+1
2023-08-07extractors/bilibili: use ffmpeg to merge files once downloadedMole Shang1-13/+33
2023-08-06process_url: initial callback supportMole Shang1-8/+27
2023-08-06process_url: move constant macros to constants.hMole Shang1-1/+0
2023-08-06process_url: strip illegal characters in filenameMole Shang1-0/+8
There are edge cases when a retrived title contains illegal characters (e.g. '/'). Replace it with a space to ensure a valid filename. Reproducible case: https://www.bilibili.com/video/av20827366/ (title="【2K/60fps】这可能是我做过最美的miku了【boomclap布料解算版】")
2023-08-05hinata: initial commitMole Shang1-0/+526