İçeriğe geç

Etiket: Hiçbir dine inanmamak nedir

Agnostisizm Dinleri Kabul Eder Mi

Agnostisizm dinleri reddeder mi? En yaygın kullanım dini inançlara yönelik agnostik yaklaşımdır. Bertrand Russell tarafından tanımlanan agnostik bakış açısına göre, günümüzde mevcut dinlerin Tanrı’nın varlığı ve Dünya’dan sonraki yaşam hakkındaki iddialarını doğrulamak mümkün değildir. Bu nedenle, bir dine ait olmak anlamsız görünebilir. Agnostisizm tanrıyı kabul eder mi? Agnostisizm, Tanrı’nın varlığına veya yokluğuna olan inancı askıya alır ve Tanrı’nın var olup olmadığının bilinemeyeceğini iddia eder. Öte yandan dini agnostisizm, Tanrı bilgisinin insan bilgisinin sınırlarının ötesinde olduğunu, ancak bunun ona inanmayı engellemediğini iddia eder. Agnostikler dine inanır mı? Genel olarak agnostikler, insanların Tanrı’nın var olup olmadığını bilemeyeceğine inanırlar. Bu anlamda, İngiliz filozof…

Yorum Bırak
import requests import os import shutil import re import random import time from bs4 import BeautifulSoup from concurrent.futures import ThreadPoolExecutor, as_completed def publish_article(site, selected_file, previous_article_link=None, previous_article_title=None): folder_path = r"C:\Users\LENOVO\Desktop\bot2\calismalar\kopyaturkcemakale\cevrildi" eklendi_folder_path = os.path.join(folder_path, "eklendi") if not os.path.exists(eklendi_folder_path): os.makedirs(eklendi_folder_path) eklendi_list_path = os.path.join(eklendi_folder_path, "eklenenliste.txt") file_path = os.path.join(folder_path, selected_file) title = os.path.splitext(selected_file)[0] with open(file_path, "r", encoding="utf-8") as file: content = file.read() username = "oadmin" password = "WLQg krYm MZtk NI55 3of0 ydll" auth = requests.auth.HTTPBasicAuth(username, password) headers = {"Accept": "application/json", "Content-Type": "application/json"} wpBaseURL = f"https://{site}" try: print(f"{site} sitesine bağlanılıyor...") categories_url = wpBaseURL + "/wp-json/wp/v2/categories" response = requests.get(categories_url, auth=auth, timeout=75) categories = response.json() category_id = next((cat["id"] for cat in categories if cat["slug"] == "makaleler"), None) if category_id is None: print(f"{site}: Kategori bulunamadı.") return if previous_article_link and previous_article_title: content += f'\n\n\nTavsiyeli Bağlantılar: {previous_article_title}' post_url = wpBaseURL + "/wp-json/wp/v2/posts" payload = { "status": "publish", "title": title, "content": content, "categories": [category_id] } response = requests.post(post_url, json=payload, headers=headers, auth=auth, timeout=75) print(f"{site} ({title}): {response.status_code}") if response.status_code == 201: new_file_path = os.path.join(eklendi_folder_path, f"{title}.txt") shutil.move(file_path, new_file_path) with open(eklendi_list_path, "a", encoding="utf-8") as log: log.write(title + "\n") print(f"{site}: Makale yayınlandı - {title}") return response.json()["link"], title else: print(f"{site}: Yayın başarısız: {response.status_code}") return None, None except Exception as e: print(f"{site}: Hata oluştu: {e}") return None, None def main(): with open(r"C:\Users\LENOVO\Desktop\bot2\calismalar\trgositelistesiS.txt", "r", encoding="utf-8") as f: sites = [line.strip() for line in f if line.strip()] folder_path = r"C:\Users\LENOVO\Desktop\bot2\calismalar\kopyaturkcemakale\cevrildi" files = [f for f in os.listdir(folder_path) if os.path.isfile(os.path.join(folder_path, f))] random.shuffle(files) previous_article_link = None previous_article_title = None max_workers = 15 with ThreadPoolExecutor(max_workers=max_workers) as executor: futures = [] while files and sites: selected_file = files.pop(0) site = random.choice(sites) future = executor.submit(publish_article, site, selected_file, previous_article_link, previous_article_title) futures.append(future) for future in as_completed(futures): try: result = future.result() if result and result[0]: previous_article_link, previous_article_title = result except Exception as e: print(f"Bir future işlemi hata verdi: {e}") if __name__ == "__main__": main()