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 pickle | |
import sys | |
import requests | |
from bs4 import BeautifulSoup | |
from pathlib import Path | |
outdir = "out" | |
def getUrlsFromIndexpage(indexUrl): | |
page = requests.get(indexUrl) |
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
public static class MyExtensions | |
{ | |
static int offset = 0; | |
public static T DumpLine<T>(this T obj, string description = "", [CallerLineNumber]int lineNumber = 0) | |
{ | |
if (description == "DumpLineInit") | |
{ | |
try | |
{ | |
offset = lineNumber - int.Parse(obj.ToString()); |