ShareShortcuts

SnapYas

Download snapchat videos and photos

yas8p
Fork “SnapYas”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so yas8p gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
84K
Saved
4
Actions
57
Category
Photos and videos
Version
1.0
Language
EN

Download snapchat videos and photos

What's New

Version 1.0

First release

Version History
1.0 Nov 9, 2020

First release

What it does

57 actions
  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

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#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)
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by yas8p

See All

You Might Also Like

See All
Advertisement