Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-03-02 | process_url: merge_and_cleanup: do not block ui thread | Mole Shang | 1 | -13/+25 | |
2024-03-02 | tree-wide: use FREE_AND_NULLIFY macro and reformat code | Mole Shang | 1 | -8/+9 | |
Jeez idk why i forgot the pass-by-value feature, so the original version never gets the pointer nullified. Fix it by using our favourite C-style macro. | |||||
2024-03-02 | process_url: do not update curl status during callback | Mole Shang | 1 | -2/+4 | |
... and in turn fixes the race condition | |||||
2024-03-01 | status: support large file sizes on 64bit systems | Mole Shang | 1 | -3/+3 | |
Convert all unsigned long nums to unsigned long long in order to let the UI safely display sizes >= 4GB | |||||
2024-03-01 | tree-wide: fix uaf bugs | Mole Shang | 1 | -17/+16 | |
2024-03-01 | process_url: initialize curl_c to NULL | Mole Shang | 1 | -0/+1 | |
... to avoid accessing garbage value of curl_c->outfn, which leads to SIGSEGV. | |||||
2023-08-10 | process_url: lower low-speed timeout to 30s | Mole Shang | 1 | -1/+1 | |
2023-08-10 | process_url: do not run callback if corrupted | Mole Shang | 1 | -2/+2 | |
2023-08-10 | ui: show progress while remuxing | Mole Shang | 1 | -2/+3 | |
2023-08-09 | process_url: set callback_struct_t as an alias to str_array_t | Mole Shang | 1 | -6/+4 | |
... for flexibility concern. | |||||
2023-08-09 | tree-wide: pass pointer-to-pointer to correctly free pointers | Mole Shang | 1 | -26/+28 | |
2023-08-09 | process_url: copy only if p_cookie is valid | Mole Shang | 1 | -2/+4 | |
2023-08-09 | Revert "process_url: always match substrings instead of comparing" | Mole Shang | 1 | -1/+1 | |
Target video files can also be under the domain, revert the commit for now. Needs further implemention. This reverts commit 9c2b0b39d73da02bb9d255e9dc7f81db200930b1. | |||||
2023-08-09 | process_url: set referer in the separate function | Mole Shang | 1 | -9/+2 | |
2023-08-09 | process_url: only get content length when requested | Mole Shang | 1 | -4/+6 | |
2023-08-09 | process_url: expose some new functions to be control cookies and referer | Mole Shang | 1 | -5/+28 | |
2023-08-09 | process_url: always match substrings instead of comparing | Mole Shang | 1 | -1/+1 | |
2023-08-08 | process_url: expose get_info with a new param `p_content_type` | Mole Shang | 1 | -7/+12 | |
2023-08-08 | process_url: copy full URL | Mole Shang | 1 | -2/+2 | |
2023-08-08 | process_url: change strings to be dynamic allocated | Mole Shang | 1 | -5/+6 | |
2023-08-08 | process_url: do not block ui thread on callback | Mole Shang | 1 | -2/+4 | |
2023-08-07 | hinata: support specifying cookies in curl_easy | Mole Shang | 1 | -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-07 | process_url: use goto to simplify error processing | Mole Shang | 1 | -8/+5 | |
2023-08-07 | process_url: add retries while downloading | Mole Shang | 1 | -3/+10 | |
2023-08-07 | process_url: free malloc'd data | Mole Shang | 1 | -3/+4 | |
2023-08-07 | utils: split type definition code into utils/types | Mole Shang | 1 | -1/+2 | |
2023-08-07 | utils: move to a separate folder | Mole Shang | 1 | -1/+1 | |
2023-08-07 | extractors/bilibili: use ffmpeg to merge files once downloaded | Mole Shang | 1 | -13/+33 | |
2023-08-06 | process_url: initial callback support | Mole Shang | 1 | -8/+27 | |
2023-08-06 | process_url: move constant macros to constants.h | Mole Shang | 1 | -1/+0 | |
2023-08-06 | process_url: strip illegal characters in filename | Mole Shang | 1 | -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-05 | hinata: initial commit | Mole Shang | 1 | -0/+526 | |