ShareShortcuts
Создать форк «sosDW»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы initialh получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
2K
Сохранено
1
Действия
61
Категория
Photos and videos
Версия
1.9
Язык
EN

I got tired of juggling five different downloader apps, so I made sosDW — one shortcut that saves videos from Instagram Reels, Facebook, and X straight to my camera roll. Just share any video link to it and it handles the rest, always grabbing the best quality it can find.

Что нового

Версия 1.9

- Back Tap support: copy any link, double-tap the back of your iPhone to download - Photos & carousels: Download all at once, or pick single items from a clean numbered list - New: Threads videos & photos - Fully automatic saving to Camera Roll, no extra taps - Removed: YouTube (Google blocks all third-party downloading)

История версий
1.9 10 окт 2026 г.

- Back Tap support: copy any link, double-tap the back of your iPhone to download - Photos & carousels: Download all at once, or pick single items from a clean numbered list - New: Threads videos & photos - Fully automatic saving to Camera Roll, no extra taps - Removed: YouTube (Google blocks all third-party downloading)

1.0 3 окт 2026 г.

First release

Что делает

Действий: 61
  1. Comment
    sosDW v1.9 — IG Reels/photos, FB Reels, X, Threads. Back Tap: Copy Link + double-tap. iOS 15-27.
  2. Text
  3. Set Variable
    sosDW_API
  4. Get URLs from Input
  5. If
  6. Get Item from List
  7. If
  8. Get Clipboard
  9. Set Variable
    sosDW_Clip
  10. Match Text
  11. If
  12. Get Item from List
  13. If
  14. Ask for Input
    Paste a content link (Instagram / Facebook / X / Threads):
  15. Get URLs from Input
  16. Get Item from List
  17. Set Variable
    sosDW_URL
  18. Match Text
  19. If
  20. Show Alert
    sosDW
  21. Stop This Shortcut
  22. URL
    …/resolve
  23. Get Contents of URL
    …
  24. Get Dictionary Value
  25. If
  26. Show Alert
    sosDW
  27. Stop This Shortcut
  28. If
  29. Show Alert
    sosDW
  30. Stop This Shortcut
  31. Get Dictionary Value
  32. If
  33. Get Contents of URL
    …
  34. Save to Photo Album
  35. If
  36. Get Dictionary Value
  37. If
  38. Show Alert
    sosDW
  39. Stop This Shortcut
  40. Get Dictionary Value
  41. If
  42. Choose from Menu
    Multiple photos found. Which ones?
  43. Choose from Menu
    Download all
  44. Repeat with Each
  45. Get Dictionary Value
  46. Get Contents of URL
    …
  47. Add to Variable
  48. Share
  49. Show Result
  50. Stop This Shortcut
  51. Choose from Menu
    Pick one
  52. Repeat with Each
  53. Get Dictionary Value
  54. Add to Variable
  55. Choose from List
  56. URL
    …/pick
  57. Get Contents of URL
    …
  58. Get Dictionary Value
  59. Get Contents of URL
    …
  60. Save to Photo Album
  61. Stop and Output

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#include 'actions/web'
#define color red
#define glyph downloadArrow

// sosDW v1.9 — IG Reels/photos, FB Reels, X, Threads. Back Tap: Copy Link + double-tap. iOS 15-27.

@sosDW_API = "https://sosdown-inithd3vs-projects.vercel.app"
const Links = getURLs(ShortcutInput)

if Links {
	getListItem(Links, 0)
} else {
	getClipboard()
	@sosDW_Clip
	const Matches = containsText(@sosDW_Clip, "https?://[^\s]+", false)
	if Matches {
		getListItem(Matches, 0)
	} else {
		const ProvidedInput = prompt("Paste a content link (Instagram / Facebook / X / Threads):", "Text")
		const Links1 = getURLs(ProvidedInput)
		getLastItem(Links1)
	}
}
@sosDW_URL
const Matches1 = containsText(@sosDW_URL, "instagram\.com|facebook\.com|fb\.watch|x\.com|twitter\.com|threads\.net|threads\.com", false)

if !Matches1 {
	alert("Link not supported. sosDW works with: Instagram, Facebook, X, Threads (photos & videos).", "sosDW")
	stop()
}
url("{@sosDW_API}/resolve")
const ContentsOfURL = jsonRequest(, "POST", {
	"downloadMode": "auto",
	"filenameStyle": "basic",
	"url": "{@sosDW_URL}",
	"videoQuality": "max"
}, {
	"Accept": "application/json",
	"Content-Type": "application/json"
})
const DictionaryValue = getValue(ContentsOfURL, "error")

if !ContentsOfURL {
	alert("Server is not responding. Check your connection, then open the first sosDW action and make sure the server URL is correct.", "sosDW")
	stop()
}

if DictionaryValue {
	alert("Couldn't fetch the media. Make sure the link is public (not private/login), check your connection and server, then try again.", "sosDW")
	stop()
}
const DictionaryValue1 = getValue(ContentsOfURL, "url")

if DictionaryValue1 {
	const ContentsOfURL1 = fileRequest(DictionaryValue1, "GET")
	savePhoto(ContentsOfURL1)
} else {
	const DictionaryValue2 = getValue(ContentsOfURL, "picker")
	if !DictionaryValue2 {
		alert("No media could be taken from this link. Make sure it's public (not private/login).", "sosDW")
		stop()
	}
	const DictionaryValue3 = getValue(ContentsOfURL, "bulk")
	if DictionaryValue3 {
		menu "Multiple photos found. Which ones?" {
		item "Download all":
			for _ in DictionaryValue3 {
				fileRequest(, "GET")
				@SosdwFiles
			}
			share(@SosdwFiles)
			show("sosDW: All photos ready! Tap Save on each Share sheet.\n\nEnjoying sosDW? Follow @suduttech on Instagram for updates & more projects:\nhttps://instagram.com/suduttech")
			stop()
		item "Pick one":
		}
	}
	for _ in DictionaryValue2 {
		@Labels += @RepeatItem['label']
	}
	chooseFromList(@Labels)
	url("{@sosDW_API}/pick")
	const ContentsOfURL2 = jsonRequest(, "POST", {
		"label": "{}",
		"url": "{@sosDW_URL}"
	}, {
		"Accept": "application/json",
		"Content-Type": "application/json"
	})
	const ContentsOfURL3 = fileRequest(, "GET")
	savePhoto(ContentsOfURL3)
}
output()
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Вам также может понравиться

См. все
Реклама