This file contains 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_html import AsyncHTMLSession | |
import json | |
import re | |
import asyncio | |
import argparse | |
from collections import namedtuple | |
Page = namedtuple("Page", "appid result") | |
App = namedtuple("App", "name tags") |
This file contains 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 enum import Enum | |
class Test: | |
def __init__(self, func, expected, args=[], kwargs={}): | |
self.func = func | |
self.args = args | |
self.kwargs = kwargs | |
self.expected = expected |
This file contains 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
import os | |
import json | |
import csv | |
import argparse | |
# ------------------------------------------------------------------------------ | |
# rearrange these headers to change order | |
headers = ["date", "title", "state", "reward", "requester_id", "requester_name", | |
"requester_feedback"] | |
# ------------------------------------------------------------------------------ |