ShareShortcuts

PinterestDown

- Download Images/Videos on Pinterest

wopson
Bifurcar “PinterestDown”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que wopson reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
66K
Guardado
3
Acciones
43
Categoría
Photos and videos
Versión
1.1
Idioma
EN
  • Download Images/Videos on Pinterest

Novedades

Versión 1.1

Fixed an issue where a replace action was not using regex

Historial de versiones
1.1 30 de abr. de 2020

Fixed an issue where a replace action was not using regex

1.0 28 de abr. de 2020

First release

Qué hace

43 acciones
  1. Comment
    Made by /u/wet250 ( ͡° ͜ʖ ͡°)
  2. If
  3. Expand URL
  4. If
  5. Get Clipboard
  6. Match Text
  7. Count
  8. If
  9. Expand URL
  10. Match Text
  11. Count
  12. If
  13. Expand URL
  14. If
  15. Show Alert
  16. Stop This Shortcut
  17. If
  18. Show Alert
  19. Stop This Shortcut
  20. Replace Text
  21. Get Contents of URL
    …
  22. Make HTML from Rich Text
  23. Match Text
  24. Replace Text
  25. Replace Text
  26. Get Dictionary Value
  27. Get Item from List
  28. Get Dictionary Value
  29. Set Variable
    Title
  30. Get Dictionary Value
  31. Count
  32. If
  33. Get Contents of URL
    …
  34. Set Name
  35. Quick Look
  36. Stop This Shortcut
  37. Get Dictionary Value
  38. Filter Files
  39. Choose from List
  40. Get Dictionary Value
  41. Get Contents of URL
    …
  42. Set Name
  43. Quick Look

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

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

/*
Made by /u/wet250
( ͡° ͜ʖ ͡°)
*/

if ShortcutInput contains ShortcutInput {
	expandURL(ShortcutInput)
} else {
	getClipboard()
	const Matches = containsText(, "http")
	const Count = count(Matches)
	if Count == 1 {
		expandURL()
		const Matches1 = containsText(, "https?\:\/\/www.pinterest.com/pin/[0-9]+")
		const Count1 = count(Matches1)
		if Count1 == 1 {
			expandURL()
		} else {
			confirm("Not a Pinterest link!")
			stop()
		}
	} else {
		confirm("Not a link!")
		stop()
	}
}
replaceText("/sent.*", "", true)
const ContentsOfURL = downloadURL()
makeHTML(ContentsOfURL)
containsText(, "<script id=\"initial-state\" type=\"application\/json\">.*?<\/script>")
replaceText("<script id=\"initial-state\" type=\"application/json\">", "")
const UpdatedText = replaceText("</script>", "")
const DictionaryValue = getValue(UpdatedText, "resourceResponses")
const ItemFromList = getRandomItem(DictionaryValue)
const DictionaryValue1 = getValue(ItemFromList, "response.data")
@Title = DictionaryValue1['page_metadata.metatags.title']
const DictionaryValue2 = getValue(DictionaryValue1, "videos")
const Count2 = count(DictionaryValue2)

if Count2 != 0 {
	const ContentsOfURL1 = downloadURL(DictionaryValue2['video_list.V_720P.url'])
	const RenamedItem = setName(ContentsOfURL1, @Title)
	quicklook(RenamedItem)
	stop()
}
const DictionaryValue3 = getKeys(DictionaryValue1['images'])
const Files = filterFiles(DictionaryValue3, "Name", "A to Z")
chooseFromList(Files, "Choose Image Size")
const ContentsOfURL2 = downloadURL()
const RenamedItem1 = setName(ContentsOfURL2, @Title)
quicklook(RenamedItem1)
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de wopson

Ver todo

También te puede gustar

Ver todo
Publicidad