ShareShortcuts

Media Grabber

Helps down video from every social media

kaleb
Создать форк «Media Grabber»

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

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

Helps down video from every social media

Что нового

Версия 1.0

First release

История версий
1.0 20 июн 2019 г.

First release

Что делает

Действий: 243
  1. Comment
    Version : 1.3.4 Github : @MediaGrabber Telegram : @ShortcutsApps || Made with ❤️ by Sayem ||
  2. Comment
    A partial list of supported sites is available here: https://kutt.it/mgsites Report any issue on github.
  3. If
  4. If
  5. Get Clipboard
  6. Match Text
  7. Comment
    Keep it to yes to suppress url prompts. It is helpful when your run from widget for background downloads.
  8. Text
  9. Set Variable
    WidgetMode
  10. If
  11. Text
  12. If
  13. Ask for Input
    Enter url or query
  14. Match Text
  15. Set Variable
    InputURL
  16. Match Text
  17. If
  18. Get Component of URL
  19. Match Text
  20. If
  21. If
  22. Get Variable
  23. Match Text
  24. URL
    https://api.twitter.com/1.1/statuses/show.json?tweet_mode=extended&id=…
  25. Get Contents of URL
  26. If
  27. Get Variable
  28. Match Text
  29. URL
    https://api.tumblr.com/v2/blog/…/posts/video?api_key=rdlmV7PoHOUVOPPGutXaQ1QkO7xDRZENPKiWAgKWTXooeqwo7M&id=…
  30. Get Contents of URL
  31. If
  32. URL
    …&locale=en&integration=inline&GK_PV5_NEON=1
  33. Get Contents of URL
  34. Make HTML from Rich Text
  35. If
  36. Get Variable
  37. Get Contents of URL
  38. Make HTML from Rich Text
  39. Replace Text
  40. Replace Text
  41. Get URLs from Input
  42. Combine Text
  43. Replace Text
  44. Match Text
  45. Repeat with Each
  46. Match Text
  47. If
  48. If
  49. Text
  50. Set Variable
    FileEXT
  51. Text
  52. Add to Variable
  53. Comment
    Get json results from our backend server. The json results include all the information needed to download videos.
  54. Count
  55. If
  56. Text
  57. Base64 Encode
  58. Get Contents of URL
  59. Set Variable
    FetchedJSON
  60. If
  61. Comment
    Errors have json value. This errors are usually from youtube-dl installed on backend server. Errors will be displayed with alert option.
  62. Show Alert
    …
  63. If
  64. URL
    …
  65. Open URLs
  66. Stop This Shortcut
  67. Set Variable
    Alert
  68. If
  69. Get Variable
  70. Comment
    Parse json for getting information on video url, title and formats.
  71. Get Dictionary from Input
  72. Set Variable
    DictInfo
  73. If
  74. Get Dictionary Value
  75. Set Variable
    MG Alert
  76. Get Dictionary Value
  77. If
  78. Show Notification
    …
  79. If
  80. Show Alert
  81. Get Variable
  82. Count
  83. If
  84. Get Variable
  85. Repeat with Each
  86. Text
  87. Set Name
  88. Add to Variable
  89. Get Variable
  90. Choose from List
  91. Set Variable
    DictInfo
  92. Comment
    Remove any illegal characters from title and replace with "_" for saving file.
  93. Text
  94. Replace Text
  95. Set Variable
    DictTitle
  96. Text
  97. Set Variable
    Headers
  98. Get Variable
  99. Get Dictionary Value
  100. Set Variable
    Formats
  101. Comment
    Check if json results only have one single video or multiple.
  102. Count
  103. If
  104. Get Variable
  105. Set Variable
    DictInfo
  106. Comment
    Organise each video and audio with format and links for downloading at the next step.
  107. Get Variable
  108. Repeat with Each
  109. Set Variable
    FormatJSON
  110. Get Dictionary Value
  111. Set Variable
    EXT
  112. Comment
    Only support/show videos or audios with these format.
  113. Match Text
  114. If
  115. Text
  116. If
  117. Comment
    If video doesn't have any audio then skip adding to the list.
  118. Nothing
  119. If
  120. Text
  121. Set Variable
    URL
  122. If
  123. Nothing
  124. If
  125. Number
  126. Comment
    Get file-size in bytes and then format them in MB. If file-size information is not found in json then make a header request.
  127. If
  128. URL
    …
  129. Get URL Headers
  130. Number
  131. File Size
  132. If
  133. Text
  134. If
  135. Text
  136. Set Variable
    FormattedName
  137. Text
  138. If
  139. Get Variable
  140. Match Text
  141. Combine Text
  142. Comment
    Remove anything inside brackets including brackets. We will add extension information inside brackets later. There is a space before first brackets.
  143. Replace Text
  144. Set Variable
    DFormat
  145. Text
  146. Add to Variable
  147. Text
  148. Add to Variable
  149. Count
  150. Comment
    If no downloadable link found show error with alert box and then stop executing further.
  151. If
  152. Get Variable
  153. If
  154. If
  155. Show Alert
    Oops!
  156. If
  157. Get Variable
  158. Choose from List
  159. Match Text
  160. Set Variable
    Selected_Item
  161. Get Dictionary Value
  162. If
  163. If
  164. Set Variable
    FinalURL
  165. Comment
    Choose default action. Case sensitive. Ask/Download/Copy
  166. Text
  167. If
  168. List
  169. Choose from List
  170. Comment
    Proceed with either download, copy or nothing.
  171. If
  172. Get Variable
  173. Comment
    Downloading selected quality! If the video is large and your internet speed is slow then you might experience timeout error.
  174. Get Contents of URL
  175. Set Name
  176. Set Variable
    Downloaded_File
  177. Get Details of Files
  178. Comment
    If file extension is any of this, display error. These are webpages or text file so the file was not actually downloaded.
  179. Match Text
  180. If
  181. Text
  182. If
  183. Text
  184. Base64 Encode
  185. Comment
    Download failed. Proxifying your downloads now. Please wait...
  186. Get Contents of URL
  187. Set Name
  188. Set Variable
    Downloaded_File
  189. Get Details of Files
  190. Match Text
  191. If
  192. Get Variable
  193. If
  194. Show Alert
    Oops!
  195. If
  196. Comment
    Choose default action after download. Case sensitive. Ask/Save/Open/Preview Browser/iCloud
  197. Get Variable
  198. If
  199. Text
  200. If

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

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

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

Реклама

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

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