summaryrefslogtreecommitdiff
path: root/src/extractors
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02tree-wide: use FREE_AND_NULLIFY macro and reformat codeMole Shang4-19/+19
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 Shang4-21/+18
2023-08-10extractors/bilibili: set referer before api requestMole Shang1-1/+1
2023-08-10extractors: initial youku supportMole Shang4-6/+218
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 Shang3-14/+15
2023-08-09extractors/bilibili: fix page in filenameMole Shang1-4/+16
2023-08-09Revert "process_url: always match substrings instead of comparing"Mole Shang1-1/+2
Target video files can also be under the domain, revert the commit for now. Needs further implemention. This reverts commit 9c2b0b39d73da02bb9d255e9dc7f81db200930b1.
2023-08-09process_url: set referer in the separate functionMole Shang2-5/+6
2023-08-09process_url: expose some new functions to be control cookies and refererMole Shang1-1/+1
2023-08-09process_url: always match substrings instead of comparingMole Shang1-2/+1
2023-08-09extractors/haokan: catch get errorsMole Shang1-29/+30
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-08extractors: support haokan videosMole Shang4-4/+64
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-07extractors/extractor: add missing headerMole Shang1-0/+1
2023-08-07utils: split type definition code into utils/typesMole Shang2-3/+3
2023-08-07utils: move to a separate folderMole Shang2-2/+2
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 Shang4-0/+625