mirror of
https://github.com/thegeneralist01/archivr
synced 2026-05-30 08:36:47 +02:00
Rename resolve_from_cwd to absolutize_path
Update call sites and tests to use the new API. Adjust tweet scraper path/credentials handling and make small tweaks to local path hashing and raw store helpers. Signed-off-by: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com> Signed-off-by: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com>
This commit is contained in:
parent
741e33c3af
commit
9837bda0c2
3 changed files with 49 additions and 6 deletions
|
|
@ -357,6 +357,7 @@ fn main() -> Result<()> {
|
|||
|
||||
let source = determine_source(path);
|
||||
|
||||
// Sources: Tweets or Twitter Threads
|
||||
match source {
|
||||
Source::Other => {
|
||||
eprintln!("Archiving from this source is not yet implemented.");
|
||||
|
|
@ -392,7 +393,7 @@ fn main() -> Result<()> {
|
|||
_ => {}
|
||||
}
|
||||
|
||||
// Other sources
|
||||
// Sources, for which yt-dlp is needed
|
||||
let path = resolve_source_path(path, &source);
|
||||
let hash = match source {
|
||||
Source::YouTubeVideo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue