Skip to content

Instantly share code, notes, and snippets.

View LukysGaming's full-sized avatar

LukysGaming LukysGaming

View GitHub Profile
@LukysGaming
LukysGaming / getanswers.py
Created November 26, 2022 22:21 — forked from lgommans/getanswers.py
Fixed version
#!/usr/bin/env python3
triviafile = 'trivia.csv'
apiurl = 'https://opentdb.com/'
sleep_between_requests = 0.1
questionsPerRequest = 50
import requests, os, hashlib, json, sys, csv, urllib, time
unquote = urllib.parse.unquote