𝐂𝐨𝐝𝐞𝐕𝐲𝐱 (مقفوله مؤقتا)
前往频道在 Telegram
7 649
订阅者
-224 小时
-67 天
+13230 天
帖子存档
لو في تفاعل بنزلكم كيف ترفعو البوتات و تشتغل ⭐️
25 7月 2024, 20:40
05 8月 2024, ~10:56
سكربت يعطيك شعر عشوائي مع كل تشغيله ( يفيد أصحاب قنوات الشعر ) 🥹
from bs4 import BeautifulSoup
import requests
response = requests.get("https://www.aldiwan.net/random").content
soup = BeautifulSoup(response, 'html.parser')
title = soup.find('meta', {'property': 'og:title'})['content'].strip()
author = soup.find('meta', {'name': 'author'})['content'].strip()
poem = soup.find('div', {'id': 'poem_content'})
poem_ = [line.get_text().strip() for line in poem.find_all('h3')]
print("عنوان : ", title)
print("الشاعر : ", author)
print("الشعر : ")
for line in poem:
print(line)
@A_1_1_T 💻 , @SSUU_R25 7月 2024, 20:40
طبعا مسحنا كل شيء عشان نبدو من جديد و بنزل نفس الادوات القديمه مع تطوير ⭐️ 🩶
24 7月 2024, 22:39
05 8月 2024, ~10:56
