parent
6d07e36944
commit
d30d715e6c
@ -0,0 +1,13 @@
|
|||||||
|
import urllib.request
|
||||||
|
|
||||||
|
|
||||||
|
def connect(host="http://google.com"):
|
||||||
|
try:
|
||||||
|
urllib.request.urlopen(host) # Python 3.x
|
||||||
|
return True
|
||||||
|
except:
|
||||||
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
# test
|
||||||
|
print("connected" if connect() else "no internet!")
|
||||||
@ -1 +1,179 @@
|
|||||||
[]
|
[
|
||||||
|
{
|
||||||
|
"id": "vog11p1",
|
||||||
|
"time": "1656620935",
|
||||||
|
"background_credit": "streetRAT",
|
||||||
|
"reddit_title": "People who are always late why dont you just leave earlier",
|
||||||
|
"filename": "People who are always late why dont you just leave earlier.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-21 00:39:46"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y8tz9q",
|
||||||
|
"time": "1666277840",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "What video game is an absolute 100% in your opinion",
|
||||||
|
"filename": "What video game is an absolute 100% in your opinion.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-21 04:39:46"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y89srw",
|
||||||
|
"time": "1666278430",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "What is some dark shit going on around the world right now that the public probably doesnt know about",
|
||||||
|
"filename": "What is some dark shit going on around the world right now that the public probably doesnt know about.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-21 08:39:46"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y8td31",
|
||||||
|
"time": "1666279106",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "What animated movie would you confidently say is a 1010 masterpiece",
|
||||||
|
"filename": "What animated movie would you confidently say is a 1010 masterpiece.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-21 10:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y8w042",
|
||||||
|
"time": "1666279715",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "People who are always late why dont you just leave earlier",
|
||||||
|
"filename": "People who are always late why dont you just leave earlier.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-21 14:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y88k7h",
|
||||||
|
"time": "1666280396",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "What vehicle is only driven by assholes",
|
||||||
|
"filename": "What vehicle is only driven by assholes.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-21 18:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y8wqb9",
|
||||||
|
"time": "1666307142",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "What is one thing ALL men agree to",
|
||||||
|
"filename": "What is one thing ALL men agree to.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-21 22:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y9a0xg",
|
||||||
|
"time": "1666342174",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "What is something debunked as propaganda that is still widely believed",
|
||||||
|
"filename": "What is something debunked as propaganda that is still widely believed.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-22 02:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y8xtse",
|
||||||
|
"time": "1666342717",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "People who married their better than nothing option hows your marriage going",
|
||||||
|
"filename": "People who married their better than nothing option hows your marriage going.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-22 06:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y95slv",
|
||||||
|
"time": "1666347990",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "What happened to the smartest kid at your high school",
|
||||||
|
"filename": "What happened to the smartest kid at your high school.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-22 10:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y9f5hj",
|
||||||
|
"time": "1666348676",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "What is the dumbest idea you had as a child that sounded completely reasonable to your child brain",
|
||||||
|
"filename": "What is the dumbest idea you had as a child that sounded completely reasonable to your child brain.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-22 14:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y93z8l",
|
||||||
|
"time": "1666349338",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "Which snacks do you avoid buying because you will literally eat the entire batch in one sitting",
|
||||||
|
"filename": "Which snacks do you avoid buying because you will literally eat the entire batch in one sitting.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-22 18:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y9oqp8",
|
||||||
|
"time": "1666359438",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "How do you feel about men who spend money on escortsprostitutesstrippers Do you look down on them",
|
||||||
|
"filename": "How do you feel about men who spend money on escortsprostitutesstrippers Do you look down on them.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-22 22:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y9rj5c",
|
||||||
|
"time": "1666360170",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "What is a conspiracy theory that you actually believe",
|
||||||
|
"filename": "What is a conspiracy theory that you actually believe.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-23 02:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y9qbi2",
|
||||||
|
"time": "1666360704",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "What would you do if your mother started an OnlyFans",
|
||||||
|
"filename": "What would you do if your mother started an OnlyFans.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-23 06:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "y9q6y7",
|
||||||
|
"time": "1666361383",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "Whats something a lot of people see as hot or sexual but doesnt do anything for you",
|
||||||
|
"filename": "Whats something a lot of people see as hot or sexual but doesnt do anything for you.mp4",
|
||||||
|
"uploaded": true,
|
||||||
|
"uploaded_at": "2022-10-23 10:00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "yabrxc",
|
||||||
|
"time": "1666426085",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "Whats a subtle sign of low intelligence",
|
||||||
|
"filename": "Whats a subtle sign of low intelligence.mp4",
|
||||||
|
"uploaded": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subreddit": "AskReddit",
|
||||||
|
"id": "ya9vju",
|
||||||
|
"time": "1666426754",
|
||||||
|
"background_credit": "bbswitzer",
|
||||||
|
"reddit_title": "Pretend as of reading this post a meteor is an hour away from hitting the earth what was your last meal without realizing it",
|
||||||
|
"filename": "Pretend as of reading this post a meteor is an hour away from hitting the earth what was your last meal without realizing it.mp4",
|
||||||
|
"uploaded": false
|
||||||
|
}
|
||||||
|
]
|
||||||
Loading…
Reference in new issue