ShareShortcuts

SnapYas

Download snapchat videos and photos

yas8p
Создать форк «SnapYas»

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

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

Download snapchat videos and photos

Что нового

Версия 1.0

First release

История версий
1.0 9 ноя 2020 г.

First release

Что делает

Действий: 57
  1. Text
  2. Dictionary
  3. Get Contents of URL
    moody0100.com/file/405
  4. Get Dictionary Value
  5. If
  6. Show Notification
    …
  7. Open URLs
  8. Stop This Shortcut
  9. Split Text
  10. Get URLs from Input
  11. If
  12. URL
    …
  13. If
  14. Get Clipboard
  15. Match Text
  16. Ask for Input
    Enter username or Account URL قم بكتابة اليوزر أو رابط الحساب
  17. Get Contents of URL
    https://a7.ae/snapchat/index.php?snap=… &page=1
  18. Get Text from Input
  19. If
  20. Show Alert
    ❌
  21. Stop This Shortcut
  22. Make HTML from Rich Text
  23. Match Text
  24. Match Text
  25. Split Text
  26. Match Text
  27. Get Item from List
  28. If
  29. Number
  30. If
  31. Replace Text
  32. Get Item from List
  33. Combine Text
  34. Split Text
  35. Repeat with Each
  36. Get Contents of URL
    https://a7.ae/snapchat/index.php?snap=…&page=…
  37. Make HTML from Rich Text
  38. Match Text
  39. Match Text
  40. Match Text
  41. Count
  42. Count
  43. Text
  44. Get URLs from Input
  45. If
  46. Show Alert
    Nothing
  47. Stop This Shortcut
  48. If
  49. Get Contents of URL
    …
  50. Show Notification
    Videos : … images: …
  51. Get Contents of URL
    ……
  52. Quick Look
  53. Choose from Menu
    …
  54. Choose from Menu
    حفط الكل | Save All
  55. Choose from Menu
    تحديد | Choose
  56. Choose from List
  57. Save to Photo Album

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

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

#include 'actions/web'
#define color orange
#define glyph braille

const Dictionary = {
	"Version": "0.1",
	"image": "https://mwp6.com/images/1604701141.png",
	"n": {
		"p": "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 "
	},
	"twitter": "Yas8p"
}
const ContentsOfURL = downloadURL("moody0100.com/file/405")
const DictionaryValue = getValue(ContentsOfURL, "Version")

if DictionaryValue['Name'] != Dictionary['Version'] {
	showNotification(ContentsOfURL['what'], "{Dictionary['Version']} ⇒ {ContentsOfURL['Version']}", DictionaryValue)
	openURL("snap.yas8p.com")
	stop()
}
const SplitText = splitText(Dictionary['n.p'], " ")
const URLs = getURLs(ShortcutInput)

if URLs {
	url(ShortcutInput)
} else {
	getClipboard()
}
containsText(, "(?<=\.com\/(u|s|add)\/)[0-9a-z\_\-\.]+", true)
const Username = prompt("Enter username or Account URL\nقم بكتابة اليوزر أو رابط الحساب")
const ContentsOfURL1 = downloadURL("https://a7.ae/snapchat/index.php?snap={Username}\n&page=1")
const Text = getText(ContentsOfURL1)

if Text contains "عذراً لا توجد نتيجة لبحثك .. اسم المُستخدم خاطئ" {
	alert("🔴\nSorry something wrong happened \n-\nUsername is wrong\n-\nحدث خطأ ما \n-\nاسم المستخدم خاطئ\nFor more information Twitter : Yas8p\n•{Username}", "❌")
	stop()
}
const page = makeHTML(ContentsOfURL1)
containsText(page, ".*>الأخيرة</a></li></ul><table")
const Matches = containsText(, "page.*")
splitText(Matches, "'")
const LastNumber = containsText(, "page.*")
const Number = getRandomItem(LastNumber)

if !Number {
} else {
	const  = replaceText("page=", "", Number)
	getListItems(SplitText, 0)
}
const CombinedText = joinText(IfResult)
const SplitText1 = splitText(CombinedText)

for _ in SplitText1 {
	const ContentsOfURL2 = downloadURL("https://a7.ae/snapchat/index.php?snap={Username}&page={@RepeatItem}")
	makeHTML(ContentsOfURL2)
}
containsText(a7ae, "<img src=.*")
const Images = containsText(, ".*media.jpg.*")
const Mp4 = containsText(a7ae, ".*type=\"video/mp4\"")
const img = count(Images)
const vid = count(Mp4)
const URLs1 = getURLs("{Mp4}{Images}")

if !URLs1 {
	alert("No Phontos or videos \nYou Can't download from untrusted accounts(☑️)\nلاتستطيح التحميل من الحسابات الغير موثوقة(☑️)", "Nothing ")
	stop()
} else {
	const ContentsOfURL3 = downloadURL(Dictionary['image'])
}
showNotification("Videos : {vid} images: {img}", Username, false, ContentsOfURL3)
const m = downloadURL("{Mp4}{Images}")
quicklook(m)

menu  {
item "حفط الكل | Save All":
item "تحديد | Choose":
	chooseFromList(m)
}
savePhoto(MenuResult)
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

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

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

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

Реклама

Ещё от yas8p

См. все

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

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