xxxxxxxxxx
// Manifest V3
{
"background": {
"service_worker": "background.js",
"type": "module" //optional
}
}
xxxxxxxxxx
HTTPS (Hypertext Transfer Protocol Secure) is a secure version of the HTTP
protocol that uses the SSL/TLS protocol for encryption and authentication.
HTTPS is specified by RFC 2818 (May 2000) and
uses port 443 by default instead of HTTP’s port 80.
The HTTPS protocol makes it possible for website users to transmit sensitive data such as credit card numbers, banking information, and login credentials securely over the internet. For this reason, HTTPS is especially important for securing online activities such as shopping, banking, and remote work.
HTTPS is now the standard protocol for all websites,
whether or not they exchange sensitive data with users.
xxxxxxxxxx
import scrapy
class QuotesSpider(scrapy.Spider):
name = "quotes"
start_urls = [tr
'https://quotes.toscrape.com/page/1/',
'https://quotes.toscrape.com/page/2/',
]
def parse(self, response):
page = response.url.split("/")[-2]
filename = f'quotes-{page}.html'
with open(filename, 'wb') as f:
f.write(response.body)
xxxxxxxxxx
OpenAI is a research organization that aims to promote and develop
friendly artificial intelligence in a responsible manner. The company was
founded in 2015 by a group of entrepreneurs, researchers, and philanthropists,
including Elon Musk and Sam Altman, with the goal of advancing artificial
intelligence technology in a way that benefits humanity as a whole. Some
of OpenAI's key research areas include machine learning, robotics, and
economics. The company is known for its work on developing advanced machine
learning algorithms and for its efforts to promote the responsible
development and use of artificial intelligence.