· יש מצב שאתה מארגן כתובת חיצונית שתכיל רשימה עם כל הערוצים האלה? שיהיה אפשר גם לגשת ולראות?Mad-Dog כתב:התוסף הכי שמיש אצלי בקודי . יש לי כמעט 400 ערוצים כמעט חצי באיכות 1080 . דבש...
איזה ערוצים יש אצלך?
תודה
הבנתי מה השינוי שלי ושלך.Peadar כתב:אני טוען רשימות מתוך רשומת private בPastebin ועובד לי (משתמש ב raw)...
·tobenary כתב:הבנתי מה השינוי שלי ושלך.......
אצלי, שמתי את הרשימה כ PRIVATE , ולכן אני מקבל ב INCOGNITO
Error, this is a private paste. If this is your private paste, please login to Pastebin first.
אצלך, שמת את הרשימה כ UNLISTED , ולכן, כן מקבלים את ה RAW.
עכשיו, השאלה שלי, אם יש לי רשימה כ UNLISTED, כמה קל יהיה "לחפש" אותה. ( URL UNIQUE )...
@Peadar , לא חשבתי על DROPBOX, עוד רעיון מעולה...Getting raw paste output of users pastes including 'private' pastes
With this API you can obtain the raw paste output of a users pastes, including private pastes:
https://pastebin.com/api/api_raw.php
Include all the following POST parameters when you request the URL:
1. api_dev_key - this is your API Developer Key, in your case: fd964aa048db20c1633510aa64ecc893
2. api_user_key - this is the session key of the logged in user. How to obtain such a key
3. api_paste_key - this is paste key you want to fetch the data from.
4. api_option - set as 'show_paste'
Below is a PHP example using cURL how to fetch a users raw paste output:
$api_dev_key = 'fd964aa048db20c1633510aa64ecc893';
$api_user_key = '';
$url = 'https://pastebin.com/api/api_raw.php';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, 'api_option=show_paste&api_user_key='.$api_user_key.'&api_dev_key='.$api_dev_key.'&api_paste_key=A_VALID_PASTE_KEY_HERE');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_NOBODY, 0);
$response = curl_exec($ch);
echo $response;...