nicuf

Par2e

Jun 16th, 2021 (edited)
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.14 KB | None | 0 0
  1.         Parsing in the same html files (with option true/false for save in Other Folder, as before)
  2.  
  3. 1.Parsing content of <title> tag to other 5 meta tags ----- (last 2 tags are from  <!-- Schema Org Start --> )
  4.  
  5. <title>Purtatorii de informatie | Neculai Fantanaru</title>
  6.  
  7. to
  8.  
  9. <meta name="keywords" content="blah, blah 1"/>
  10. <meta name="abstract" content="blah, blah 2"/>
  11. <meta name="Subject" content="blah, blah 3"/>
  12. "headline": "blah, blah 4",
  13. "keywords": "blah, blah 5",
  14.  
  15.  
  16.  
  17. 2.Parsing content of CANONICAL tag to other 2 meta tags  (last tag is from  <!-- Schema Org Start --> )
  18. <link rel="canonical" href="https://neculaifantanaru.com/purtatorii-de-informatie.html" />
  19.  
  20. to
  21.  
  22. <meta property="og:url" content="https://other-link-1.html"/>
  23. "@id": "https://other-link-2.html"
  24.  
  25.  
  26. 3.Parsing content of DESCRIPTION tag to other 2 tags  (last tag is from  <!-- Schema Org Start --> )
  27.  
  28. <meta name="description" content="Cultiva-ti propria cultura stiintifica dupa modelul altor vizionari, actionand strict in directia tendintei de a te remodela pe tine insuti."/>
  29.  
  30. to
  31.  
  32. <meta property="og:description" content="Other thing"/>
  33. "description": "Blah Blah.",
Add Comment
Please, Sign In to add comment