Pug - это препроцессор HTML и шаблонизатор, который был написан на JavaScript для Node.js.
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
<?php | |
namespace Lib\Image; | |
class ImageMain | |
{ | |
private $image; | |
private $width; |
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
<?php | |
namespace Lib\Image; | |
class ImageMain | |
{ | |
private $image; | |
private $width; |
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
from requests import get | |
from bs4 import BeautifulSoup | |
def get_urls_sitemap(sitemap_url = ''): | |
print("Scan sitemap "+sitemap_url) | |
res = get(sitemap_url).text | |
soup = BeautifulSoup(res, 'xml') | |
urls = soup.select('url') | |
urls_test = [] |