fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. // your code goes here
  13. }
  14. }
Success #stdin #stdout 0.07s 54568KB
stdin
import instaloader

# إنشاء كائن الأداة
bot = instaloader.Instaloader()

# بيانات حسابك التي قمت بتزويدي بها
MY_USERNAME = "an_y0y"
MY_PASSWORD = "772092541"

# اسم اليوزر المراد جلب معلوماته
target_user = "7illliili"

try:
    print("جاري تسجيل الدخول إلى إنستغرام...")
    # تسجيل الدخول عبر حسابك لتخطي حظر إنستغرام
    bot.login(MY_USERNAME, MY_PASSWORD)
    print("تم تسجيل الدخول بنجاح! 🎉\n")
    
    print(f"جاري جلب معلومات الحساب: {target_user} ...\n")
    profile = instaloader.Profile.from_username(bot.context, target_user)
    
    # طباعة كافة البيانات المستخرجة للحساب المُراد فصحه
    print("=" * 40)
    print(f"اسم المستخدم: {profile.username}")
    print(f"الاسم الشخصي: {profile.full_name}")
    print(f"رقم المعرف (ID): {profile.userid}")
    print(f"البايو (Bio): {profile.biography}")
    print(f"عدد المتابِعين: {profile.followers:,}")
    print(f"عدد المتابَعين: {profile.followees:,}")
    print(f"عدد المنشورات: {profile.mediacount}")
    print(f"هل الحساب موثق؟ {profile.is_verified}")
    print(f"هل الحساب خاص (Private)؟ {profile.is_private}")
    print("=" * 40)

except Exception as e:
    print("\n❌ حدث خطأ أثناء تشغيل السكربت!")
    print(f"السبب: {e}")
stdout
Standard output is empty