This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| HTML Template Converter | |
| Extracts content from ro-nou files and inserts them into ro-vechi template structure | |
| """ | |
| import os | |
| import re | |
| from bs4 import BeautifulSoup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| from PyPDF2 import PdfReader | |
| # Specify the root directory path | |
| directory = r"g:\biblioteca-digitala" | |
| # List to store damaged files | |
| damaged_files = [] | |
| # Counter for tracking progress |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| import requests | |
| import json | |
| import os | |
| import shutil | |
| import time | |
| from pathlib import Path | |
| from urllib.parse import quote_plus | |
| from datetime import datetime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Analiză Tehnică Completă: Script de Curățare Arhivă vs Archive.org | |
| ## 🎯 Cerințele Scriptului | |
| ### Cerințe Funcționale: | |
| 1. Scanare recursivă - Găsește toate fișierele PDF/DJVU/EPUB din `g:\ARHIVA\C` | |
| 2. Extragere metadata - Din numele fișierului extrage: | |
| - Autor: "Kerr, P.B." | |
| - Titlu complet: "Copiii lampii fermecate - 01. Akhnaton si djinnii captivi" | |
| 3. Căutare individuală - Caută FIECARE volum separat pe Archive.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| import requests | |
| import json | |
| import os | |
| import shutil | |
| import time | |
| from pathlib import Path | |
| from urllib.parse import quote_plus | |
| from datetime import datetime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Inventeaza o SCENA DECLANȘATOARE: Cum să creezi un punct de plecare pentru un text narativ | |
| 1. ANALIZA TEXTULUI ORIGINAL | |
| - Identifică tema principală și atmosfera textului | |
| - Găsește frazele cheie care transmit esența narațiunii | |
| - Observă stările și sentimentele personajului principal | |
| - Identifică elementele mistice sau neobișnuite din text | |
| 2. STRUCTURA PUNCTULUI DE PLECARE | |
| - Stabilește contextul fizic (locație, timp, situație) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FINAL Corecturi stilistica si gramatica limba romana de pe site-ul https://neculaifantanaru.com | |
| Cerinte: Corectează gramatica, ortografia și punctuația textului dat in limba romana, conform instrucțiunilor de mai jos: | |
| 1. Respectarea fidelă a textului original: | |
| - Analizează textul pentru a corecta greșelile gramaticale, de ortografie, punctuație și structură. | |
| - Păstrează cât mai mult posibil stilul, tonul și intenția originală a autorului. | |
| 2. Intervenții minime: | |
| - Corectează doar elementele care împiedică claritatea sau respectarea normelor limbii române. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| import requests | |
| import json | |
| import os | |
| import shutil | |
| import time | |
| from pathlib import Path | |
| from urllib.parse import quote_plus | |
| from datetime import datetime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| import requests | |
| import json | |
| import os | |
| import shutil | |
| import time | |
| from pathlib import Path | |
| from urllib.parse import quote_plus | |
| from datetime import datetime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| import requests | |
| import json | |
| import os | |
| import shutil | |
| import time | |
| from pathlib import Path | |
| from urllib.parse import quote_plus | |
| from datetime import datetime |
NewerOlder