randydev commited on
Commit
1d1d4c5
·
verified ·
1 Parent(s): 14bc245

Update lib/all.js

Browse files
Files changed (1) hide show
  1. lib/all.js +20 -2
lib/all.js CHANGED
@@ -106,6 +106,23 @@ async function InstagramDLV4(url) {
106
  }
107
  }
108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  async function XsearchDownloaderV2(q) {
110
  const data = await xpro.default.search(q);
111
  return CreatorOriginal(data);
@@ -156,11 +173,13 @@ export {
156
  XnxxDownloader,
157
  TiktokDownloader,
158
  TwitterDownloader,
159
- InstagramDownloader,
 
160
  TeraboxDownloader,
161
  TeraboxV2Downloader,
162
  TeraboxV3Downloader,
163
  PinterestDownloader,
 
164
  InstagramDLV2,
165
  InstagramDLV3,
166
  InstagramDLV4,
@@ -169,6 +188,5 @@ export {
169
  TelegramUseLog,
170
  audioContent,
171
  generateRandomTimestamp,
172
- TwitterDownloaderV2,
173
  SendWaifuRandom,
174
  };
 
106
  }
107
  }
108
 
109
+ const TwitterDownloderV3 = async (link) => {
110
+ const options = {
111
+ method: 'GET',
112
+ url: 'https://randydev-meta-ai.hf.space/api/twitter',
113
+ params: {
114
+ link: link
115
+ }
116
+ };
117
+ try {
118
+ const response = await axios.request(options);
119
+ return response.data;
120
+ } catch (error) {
121
+ console.error(error);
122
+ return null;
123
+ }
124
+ }
125
+
126
  async function XsearchDownloaderV2(q) {
127
  const data = await xpro.default.search(q);
128
  return CreatorOriginal(data);
 
173
  XnxxDownloader,
174
  TiktokDownloader,
175
  TwitterDownloader,
176
+ TwitterDownloaderV2,
177
+ TwitterDownloderV3,
178
  TeraboxDownloader,
179
  TeraboxV2Downloader,
180
  TeraboxV3Downloader,
181
  PinterestDownloader,
182
+ InstagramDownloader,
183
  InstagramDLV2,
184
  InstagramDLV3,
185
  InstagramDLV4,
 
188
  TelegramUseLog,
189
  audioContent,
190
  generateRandomTimestamp,
 
191
  SendWaifuRandom,
192
  };