ShareShortcuts

R⤓Download

arbabjan
Dupliquer « R⤓Download »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que arbabjan soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
43K
Enregistré
7
Actions
35
Catégorie
API
Version
1.0
Langue
EN

Hi

Nouveautés

Version 1.0

First release

Historique des versions
1.0 28 avr. 2023

First release

Ce qu’il fait

35 actions
  1. Replace Text
  2. URL Encode
  3. Get Contents of URL
    https://www.moody0100.com/file/242/
  4. Dictionary
  5. If
  6. Show Notification
    …
  7. Open X-Callback URL
  8. Get Dictionary Value
  9. Repeat with Each
  10. Match Text
  11. If
  12. Choose from List
  13. Match Text
  14. Replace Text
  15. If
  16. Get Contents of URL
    …
  17. If
  18. Get Contents of URL
    …
  19. Repeat with Each
  20. Set Name
  21. Replace Text
  22. Match Text
  23. Text
  24. Match Text
  25. Replace Text
  26. Replace Text
  27. Repeat with Each
  28. URL
  29. Get Contents of URL
    …
  30. Match Text
  31. If
  32. Save to Photo Album
  33. If
  34. Quick Look
  35. Text

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#include 'actions/web'
#include 'actions/text'
#define color lightblue
#define glyph downloadArrow

const urep = replaceText("(?ms)^\s?(?:(http\S+instagram\.com\/(?:.*?)?((?:p|tv|reels?)/([^\/\?\=\s]+)))(?:.*$)|(https\:\//(?:m\.|www\.)*(yout)ube.+?(?:vi?|embed)[\=\?/]([^\?\&\\"\= ]+))(?:.*)?$|(https\:\//(yout)u\.be/(.{11})).*$|(http\S+(imgur\.com/)(\S+)).+$|(http\S+(?:yout)ube\.com/(shorts)/(.{11})).+$|(http\S+(snapchat\.com/)(?:add|s)\/([\w\-\.]+)).*|(http\S+(t)witterrrr\.com\S+/(\d{15,})).*|(https?\:\/\S+((?:(?:pin|pinterest|flic|flickr|likee|linkedin|tiktok|rumble|douyin|reddit)\.(?:it|com|com\/r\/|kr|video)\/|t\.co/))\S+)\s.*$|.+(https://(?:www\.){0,1}ted\.com\S+).*(MGserver$)|(\S+(f)(?:b\.(?:watch|gg)|acebook)\S+).*$|(https(:)//twitterrrr\.com/(?:(?!\d{15,})\S)*).*|(http\S+(snapchat\.com/)./([^/]+)/([\S]+)).*|(http\S+instagram\.com\/((?:(?:s|stories))/(([^\/\?]+)))[/\?](?:story_media_id\=)?(\d{10,})\S+)\s(?:.*$)|(https:\S+(instagram\.com/(?:stories\/){0,1}([^/\?\s]+))).+$|((?:(?!(?:music|soundcl|spotify))\S)+)?.+(MGserver$))", "{\"host\":\"$2$5$8$11$14$17$20$23$25$27$29$31$35$40$43\",\"name\":\"$3$12$6$9$15$18$21$32$37$41\",\"url\":\"$1$4$7$10$13$16$19$22$24$26$28$30$34$36$39$42\",\"sid\":\"$33$38\"}", "{ShortcutInput} {Clipboard} MGserver", true, true)
const InputURLEncode = urlEncode(urep['url'])
const ucc = downloadURL("https://www.moody0100.com/file/242/")
const dict = {
	"Credits": {
		"@Sayem314": "To allow me to use the API of Media Grabber",
		"@r07qxo": "For creat this cool shortcut"
	},
	"Made by": "Twitter: @r07qxo",
	"Name": "R⤓Download",
	"Twitter": "@r07qxo",
	"Version": "8.8",
	"lang": {
		"1": {
			"0": "0",
			"cur": "{ucc}",
			"oss": {
				"oss": "8.8"
			},
			"uop": {
				"opu": {
					"oqp": "{ucc['osc']}"
				}
			}
		}
	},
	"r": [
		"((?\u003c=href=\\\")[^\\\"]*\\d{15,}(?=/video/1\\\" /\u003e\u003clink rel=\\\"search\\\" type=\\\"application/opensearchdescription\\+xm)|(?\u003c=highlight\\\"\\:\\{\\\"id\\\":)(\\d){12,}|(?\u003c=(id=\\\"|(token|hidden)\\\" name=\\\"(|_))token\\\" value=\\\")(\\w+)|(?\u003c=\\\",\\\"q\\\":\\\")(auto|\\d+p)(?=\\\",\\\"f\\\":\\\"mp\\d\\\"\\})|(?\u003c=form.setAttribute\\(\\\"hx-post\\\", \\\"/)[^\\\"]*|(?\u003c=value=\\\")\\w*(?=\\\"\u003e\u003cbutton type=\\\"button((https://alldownload.fun).)*))",
		"(?s)^(?:.*?img src=\\\\(\\\"https:\\\\/\\\\/scontent-).*?(?:\\\\\\w\\s|[\u003c\u003e])(.{3,6}\\d-\\d\\.xx)|^\\{\\\"show_view_shop.*$|\\{\\\"(?:status\\\":\\\"ok\\\"|id\\\":\\d*,\\\"ad|broadcast\\\":|user\\\"|reels\\\":\\{\\\"h|is_cta_sticker_available).*?(?:(?:pk\\\":\\\"?{urep['sid']}\\\"?,\\\"|id\\\":\\\"{urep['sid']}\\_\\d*\\\",\\\")(?:.{1,80}photo_of.*?|.*?media_type\\\":(?:1.*?image|2.*?video))_version.*?\\\"url\\\"(:\\\"[^,]*).*$|hd_\\w*info\\\":\\{\\\"url\\\"(:\\\"[^,]+).*$)|.*photo_of.*\\\"reels_media\\\":\\[\\{|\\{\\\\\"(.*))",
		"(?s)[\\\"']http[^\\\"]*(mp4|jpg|gif)[^\\\"]*('|\u003c|(?=\\\"(,\\\"(type\\\":\\\"mp4\\\"..,\\\"t|snapM\\w*\\\":)|.{0,250}(ad Link|ect link|MP4|\\\"name\\\":\\\"(JPG|WEBP)\\\"|btn-(block|dow)|Down|\u003e ?DOWN|\\\"urlHD\\\" ))))|(?\u003c=(\\\"(d|)link\\\":|ton....ef=|file\\\":)\\\")htt[^\\\"]*|tocol...htt.*?\\\"url\\\":\\\"((?!(jpg|png|jpeg))[^\\\"])*\\\"|^:\\\".*|http[^\\\"]*(/d\\w*.php\\?|/tos/|kcdn|tok/dl/)[^\\\"]*|versions((?!addi).)*?insta[^\\\"]*\\",
		"^\\S*(flickr|tiktok/dl/|vimeo|videoplay|pinimg|dms.lic|ditsave|video\\.f|like.v|giphy.c|xyz\\\\/\\?file\\=|vod)\\S*|(^|\\n)htt.*i.imgur\\S*|.*sc-c.*(jpg|mp4)\\S*|(?\u003c=(^|\\n|#34;))htt\\S*((i.rmbl|video/)\\S*(?=(\u0026#34;\\]\\}\\\"\u003e| ))|\\S*(tiktokv|[oi]kcdn|ttdown)\\S*(?=\\n.*(p\\d*-tik|\\.php)))|(?\u003c=,\\\"url\\\":\\\")[^\\\"]*(?=\\\".*m-r\\.p)|(?\u003c=url\\\":\\\")[^\\\"]*instag[^\\\"]*(g_...\u0026|\\.mp)[^\\\"]*|(?\u003c=^:\\\")[^\\\"]*|^ .*m-r.pw/up.*|(?\u003c=(^|banner\\.jpg\\n)).*xx.fbcdn.*?(?=(\u003c?\\n.*xx\\.f| https))|.*normal-c-useas.*?(?=\u0026#34)|^\\\"htt.*twimg.*|(?\u003c=(^|\\n)\\\").*?instagram.*?(?=\\n| )",
		"(?:^ \\S*up/mOWa.pdf (.*(?:tikk\\.site|projectlounge\\.pw).*) (.*(?:tiktok|douyin\\.com).*)|^ (\\S+m-r.pw/up\\S+) \\S+ \\S+(?!tiktok|douyin\\.com)\\S+)|^\\\u0026|\\\\|\\'|\\\\\"|[\\{\\}\\[\\]]| |amp;|[\u003c\u003e]"
	],
	"urls": {
		"$test$": "$test$",
		".": "{\\\"Get\\\":\\\"https://d.ddlvid.com/download?link={InputURLEncode}\\\"}",
		"0": "1",
		":": "{\\\"Get\\\":\\\"https://d.ddlvid.com/download?link={InputURLEncode}\\\"}",
		"MGserver": "{\\\"get.txt\\\":\\\"https://yt.loaderapp.info/info/{InputURLEncode}\\\"}",
		"NoTube": {
			"0": "0",
			"download": "https://s50.notube.net/download.php?token=",
			"downloadName": "https://s50.notube.net/download.php",
			"recover_file": "https://s50.notube.net/recover_file.php",
			"recover_weight": "https://s50.notube.net/recover_weight.php"
		},
		"Shortcut": "https://www.moody0100.com/shortcut/207/",
		"Update URL": "https://www.moody0100.com/file/242/",
		"YouTube": "https://letvid.online/v/{urep['name']}",
		"douyin.com/": [
			"{ucc['TikTok3.1']}",
			"{ucc['TikTok3.2']}"
		],
		"f": [
			"{ucc['f.1']}",
			"{ucc['f.2']}"
		],
		"flic.kr/": "{\"post.txt\":\"https://www.expertstool.com/instagram-reels-video-downloader/\"}",
		"flickr.com/": "{\"post.src\":\"https://www.expertstool.com/instagram-reels-video-downloader/\"}",
		"imgur.com/": "{\\\"get.json\\\":\\\"https://api.imgur.com/3/{urep['name']}\\\"}",
		"instagram.com/s": [
			"{\\\"post.txt\\\":\\\"https://r1-h.r07qxo.workers.dev/\\\"}"
		],
		"instagram.com/{urep['name']}": [
			"{\\\"post.txt\\\":\\\"https://r1-p.r07qxo.workers.dev/\\\"}"
		],
		"instagram.commmm/s": "{\\\"Get_SRC\\\":\\\"https://i.instagram.com/api/v1/feed/reels_media/?reel_ids=highlight:{urep['sid']}\\\"}",
		"likee.com/": {
			"post.txt": "https://www.expertstool.com/instagram-reels-video-downloader/"
		},
		"likee.video/": {
			"post.txt": "https://www.expertstool.com/instagram-reels-video-downloader/"
		},
		"linkedin.com/": {
			"post.txt": "https://www.expertstool.com/instagram-reels-video-downloader/"
		},
		"m-r_url": "https://m-r.pw/up/mOWa.pdf",
		"p/{urep['name']}": [
			"{ucc['i.1']}{ucc['i.2']}"
		],
		"pin.it/": {
			"post.txt": "https://www.expertstrick.com/download.php"
		},
		"pinterest.com/": {
			"post.txt": "https://www.expertstrick.com/download.php"
		},
		"private_media": "data:text/html;charset=utf-8, \u003c!DOCTYPE html\u003e\u003chtml\u003e\u003chead\u003e \u003ctitle\u003eR⤓Download\u003c/title\u003e \u003cmeta charset=\\\"utf-8\\\"\u003e \u003cmeta name=\\\"viewport\\\" content=\\\"width=device-width\\\"\u003e \u003cstyle\u003e body { font-family: system-ui; line-height: 1.8em; } a:link, a:visited { color: #000; background-color: #eee; font-size: 1.5em; padding: 0.4em 0.6em; text-decoration: none; display: inline-block; border-radius: 16px; } @media (prefers-color-scheme: dark) {   body { background: #000; color: #fff; }   a:link, a:visited { color: #fff; background-color: #333; } } \u003c/style\u003e\u003c/head\u003e\u003cbody\u003e\u003cul\u003e \u003cli\u003eلتنزيل المنشورات او القصص من حسابات خاصة او القصص المفضلة (هايلايت) يجب عليك التسجيل الدخول في سفاري بحساب انستقرام وبعدها تابع الشروحات أسفل * 👇🏻\u003c/li\u003e \u003c/ul\u003e \u003ch2\u003eلفتح أي رابط اضغط مطولاً على الزر وبعدها اضغط \u003cstrong\u003eفتح\u003c/strong\u003e\u003c/h2\u003e \u003cul\u003e \u003cli\u003e\u003cp\u003eللتنزيل:\u003cbr /\u003e \u003ca href=\\\"\\\"{}فتح\u003c/a\u003e\u003c/p\u003e \u003c/li\u003e \u003cli\u003e\u003cp\u003eلمعرفة كيفية التنزيل:\u003c/p\u003e \u003c/li\u003e \u003cli\u003e\u003cp\u003e\u003ca href=\\\"https://docs.google.com/uc?id=1A6QYlj9Z7yjL5x00gPCXGmsvRRjX0QsZ\\\"\u003eالمنشورات\u003c/a\u003e\u003c/p\u003e \u003c/li\u003e \u003cli\u003e\u003cp\u003e\u003ca href=\\\"https://docs.google.com/uc?id=1KzJ6jR3mrgDyyzZJoYWjYjAJ5ZDICWZN\\\"\u003eالقصص\u003c/a\u003e\u003c/p\u003e \u003c/li\u003e \u003c/ul\u003e  \u003chr /\u003e \u003cul\u003e \u003cli\u003eTo download posts or stories from private accounts or favorite stories (Highlight), you must log in to Safari with an Instagram account and then follow the explanations below. * 👇🏻\u003c/li\u003e \u003c/ul\u003e \u003ch2\u003eTo open any link, press and hold the button, then tap \u003cstrong\u003eOpen\u003c/strong\u003e\u003c/h2\u003e \u003cul\u003e \u003cli\u003e\u003cp\u003eTo download:\u003cbr /\u003e \u003ca href=\\\"\\\"\u003eO{urep['url']}en\u003c/a\u003e\u003c/p\u003e \u003c/li\u003e \u003cli\u003e\u003cp\u003eTo see how to download:\u003c/p\u003e \u003c/li\u003e \u003cli\u003e\u003cp\u003e\u003ca href=\\\"https://docs.google.com/uc?id=1A6QYlj9Z7yjL5x00gPCXGmsvRRjX0QsZ\\\"\u003ePosts\u003c/a\u003e\u003c/p\u003e \u003c/li\u003e \u003cli\u003e\u003cp\u003e\u003ca href=\\\"https://docs.google.com/uc?id=1KzJ6jR3mrgDyyzZJoYWjYjAJ5ZDICWZN\\\"\u003eStories\u003c/a\u003e\u003c/p\u003e \u003c/li\u003e \u003c/ul\u003e \u003c/body\u003e\u003c/html\u003e",
		"reddit.com/": "{\\\"get.txt\\\":\\\"https://redditsave.com/info?url={InputURLEncode}\\\"}",
		"reel/{urep['name']}": [
			"{ucc['i.1']}{ucc['i.2']}"
		],
		"reels/{urep['name']}": [
			"{ucc['i.1']}{ucc['i.2']}"
		],
		"rumble.com/": "{\\\"get.src\\\":\\\"{urep['url']}\\\"}",
		"s/{urep['name']}": [
			"{\\\"post.txt\\\":\\\"https://r1-h.r07qxo.workers.dev/\\\"}"
		],
		"sharechat.com/": {
			"post.txt": "https://www.expertstool.com/instagram-reels-video-downloader/"
		},
		"shorts": [
			"{\\\"post.json\\\":\\\"https://9convert.com/api/ajaxSearch/index\\\"}",
			"{\\\"post_y.json\\\":\\\"https://9convert.com/api/ajaxConvert/convert\\\"}"
		],
		"shorts/": "{\\\"Get\\\":\\\"https://clipmega.com/watch?v={urep['name']}\\\"}",
		"snapchat.com/": "{\\\"get.json\\\":\\\"https://search.snapchat.com/lookupStory?id={urep['name']}\\\"}",
		"stories/highlights": [
			"{\\\"post.txt\\\":\\\"https://r1-h.r07qxo.workers.dev/\\\"}"
		],
		"stories/{urep['name']}": [
			"{\\\"post.txt\\\":\\\"https://r1d-s.r07qxo1.workers.dev/\\\"}"
		],
		"t": {
			"GET": "https://d.ddlvid.com/download?link={InputURLEncode}"
		},
		"t.co/": [
			"{\\\"get.txt\\\":\\\"{urep['url']}\\\"}",
			"{\\\"get.txt\\\":\\\"https://yt.loaderapp.info/info/\u003ci\u003cID\u003ei\u003e\\\"}"
		],
		"tiktok.com/": [
			"{ucc['TikTok3.1']}",
			"{ucc['TikTok3.2']}"
		],
		"tv/{urep['name']}": [
			"{ucc['i.1']}{ucc['i.2']}"
		],
		"twitter.com/": "{\"POST_SRC\":\"https://dtwitter.heismauri.com/\"}",
		"vimeo.com/": "{\\\"get.txt\\\":\\\"https://vimeo-downloader.com/?url={InputURLEncode}\\\"}",
		"yout": [
			"{\\\"post.json\\\":\\\"https://9convert.com/api/ajaxSearch/index\\\"}",
			"{\\\"post_y.json\\\":\\\"https://9convert.com/api/ajaxConvert/convert\\\"}"
		]
	}
}

if dict !contains "'{dict['lang.1.oss.oss']}'" {
	showNotification(ucc['Changes'], "{dict['Version']} --> {ucc['Version']}")
	openCustomXCallbackURL(dict['lang.1.uop.opu.oqp'])
}
const urls = getValue(dict['urls'], urep['host'])

for _ in urls {
	const Matches = containsText(, dict['r.1'])
	if @RepeatItem beginsWith "{\"post_y." {
		chooseFromList(Matches, cpage['title'])
		containsText(, "\{\"size[^\}]+?{}[^\}]+?mp\d\"\}")
	}
	const rurls = replaceText("(?:(.*ssstik\.io/)|<i<ID>i>)", "$1{Matches}", @RepeatItem['Values'], true)
	if @RepeatItem contains "{\"post" {
		const PostPagePOST = formRequest(rurls, "POST", {
			"URLz": "{urep['url']}",
			"c1": "{ucc['ses1']}",
			"direct": "{Matches['direct']}",
			"format": "{Matches['format']}",
			"gc": "0",
			"id": "{urep['url']}",
			"k": "{['k']}",
			"link": "{urep['url']}",
			"locale": "en",
			"q": "{urep['url']}",
			"query": "{urep['url']}",
			"readType": "{Matches['readType']}",
			"selector": "false",
			"source": "{Matches['source']}",
			"stp": "1",
			"submit": "DOWNLOAD",
			"token": "{Matches}",
			"ts": "0",
			"tt": "0",
			"type": "{Matches['type']}",
			"url": "{urep['url']}",
			"username": "{urep['name']}",
			"version": "{ucc['DTK']}",
			"vid": "{urep['name']}",
			"vt": "home",
			"{ucc['url_k']}": "{urep['url']}"
		}, {
			"referer": "https://savevideo.me/en/",
			"url": "dl",
			"user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1"
		})
	} else {
		fileRequest(rurls, "GET", {
			"Authorization": "Client-ID 5dc6065411ee2ab",
			"build": "100",
			"url": "{urep['url']}"
		})
	}
	for _ in cpage {
		setName(@RepeatItem2, @RepeatItem['Keys'])
	}
	const rep1 = replaceText(dict['r.2'], "$5$1$3$2$4$6", true)
	const reg1 = containsText(rep1, dict['r.3'])
}
const curls = "{pages} {dict['urls.m-r_url']} {ucc['mex']} {urep['url']}"
const reg2 = containsText(curls, dict['r.4'])
const furls_1 = replaceText("(?:^&|\\u00\d{2}|&amp\;(?!amp;))", "&", reg2, true)
const last_rep = replaceText(dict['r.5'], "$1$2$3", furls_1, true)

for _ in last_rep {
	url(@RepeatItem)
}
const media = downloadURL(furls, {
	"Accept": "{['formats.1.http_headers.Accept']}",
	"Cookie": "{['formats.1.http_headers.Cookie']}",
	"Referer": "{['formats.1.http_headers.Referer']}",
	"User-Agent": "Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion",
	"video": "{urep['url']}"
})
const media_file = containsText(media['File Extension'], "mp4|jpg|png|m4a|jpeg|jpge", false)

if media_file {
	savePhoto(media)
} else {
	quicklook(media)
}
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de arbabjan

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité