hub.docker.com
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import requests
|
||||
from models.xkcdComic import Comic
|
||||
import json
|
||||
|
||||
from models.xkcdComic import Comic
|
||||
|
||||
|
||||
class ProgrammerExcuses:
|
||||
def __init__(self) -> None:
|
||||
self.__url = "http://programmingexcuses.com"
|
||||
@@ -15,6 +17,7 @@ class ProgrammerExcuses:
|
||||
end_index = html.find("</a></center>")
|
||||
return html[start_index+4:end_index]
|
||||
|
||||
|
||||
class XKCD:
|
||||
def __init__(self) -> None:
|
||||
self.url = "https://xkcd.com"
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"month": "2",
|
||||
"num": 2732,
|
||||
"link": "",
|
||||
"year": "2023",
|
||||
"news": "",
|
||||
"safe_title": "Bursa of Fabricius",
|
||||
"transcript": "",
|
||||
"alt": "If an anatomical structure is named for a person, it means they were the only person to have it. Pierre Paul Broca had a special area of his brain that created powerful magnetic fields, enabling him to do 19th century fMRI research.",
|
||||
"img": "https://imgs.xkcd.com/comics/bursa_of_fabricius.png",
|
||||
"title": "Bursa of Fabricius",
|
||||
"day": "1"
|
||||
}
|
||||
Reference in New Issue
Block a user