summaryrefslogtreecommitdiff
path: root/src/extractors/bilibili.c
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02tree-wide: use FREE_AND_NULLIFY macro and reformat codeMole Shang1-6/+6
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-01tree-wide: fix uaf bugsMole Shang1-8/+5
2023-08-10extractors/bilibili: set referer before api requestMole Shang1-1/+1
2023-08-09process_url: set callback_struct_t as an alias to str_array_tMole Shang1-25/+31
... for flexibility concern.
2023-08-09tree-wide: pass pointer-to-pointer to correctly free pointersMole Shang1-8/+8
2023-08-09extractors/bilibili: fix page in filenameMole Shang1-4/+16
2023-08-09process_url: set referer in the separate functionMole Shang1-4/+4
2023-08-09extractors/bilibili: fix get page queryMole Shang1-1/+1
Since cee1e6c, the first match should be always in result.str[0]
2023-08-08utils: expose mimeType2ext in utilsMole Shang1-19/+0
2023-08-08process_url: do not block ui thread on callbackMole Shang1-3/+4
2023-08-07extractors/bilibili: append page info in filename (if possible)Mole Shang1-3/+8
Also fixes an malloc size error. Previously we allocated too small memory for callback_struct.filename, which in turn leads to unexpected memory corruption.
2023-08-07utils: split type definition code into utils/typesMole Shang1-1/+0
2023-08-07utils: move to a separate folderMole Shang1-1/+1
2023-08-07extractors/bilibili: format logsMole Shang1-5/+5
2023-08-07extractors/bilibili: use ffmpeg to merge files once downloadedMole Shang1-23/+23
2023-08-06process_url: initial callback supportMole Shang1-6/+25
2023-08-06bilibili: fix page matchingMole Shang1-1/+1
Always use the second result.
2023-08-05hinata: initial commitMole Shang1-0/+475