Skip to content

About

My Stack Overflow answers (2022–2025), each committed at the time I posted it; the questions and other people's answers carry their posters' names and dates and were imported by me in 2026. One folder per question, with the code — see README and PROVENANCE.md.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,118 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stackoverflow-driftr

Note

Commit dates and authors. Each of my answers in this repository was committed with the date and time I posted it on Stack Overflow (September 2022 to July 2025), as both author and committer date, the way version-control migrations keep original dates; it holds the text as it stood when the archive was taken in October 2026 — the last revision, not the first. Each question and each other person's answer is committed under its own author's name, with the author date set to the time they posted it and the committer date set to the real import time. Every commit names its source, both dates and the real import time, and PROVENANCE.md lists them all. The extracted code files, the indexes and everything written since carry the dates they were actually committed.

Every answer I wrote on Stack Overflow as Driftr95 — 441 answers on 440 questions between 2022-09-23 and 2025-07-07, 185 of them accepted (210 in 2022, 228 in 2023, 3 in 2025) — and the 7 I wrote on the English-language sites in September 2022 (4 accepted), with the questions they answered, the other answers on those questions, and the code from my answers pulled out into files. Almost all of it is Python web scraping (BeautifulSoup, requests, Selenium) and nested-data wrangling (dicts, JSON, pandas). Numbers such as scores and view counts are as of the October 2026 snapshot.

How it is organised

One folder per question, inside chapter folders that group the questions by technique (A1…A5 nested data, C1…C11 web scraping, G1/G2 one-offs, X the English-language sites). Each question folder holds:

  • question.md — the question as asked, with its comments; the asker is named and linked, the licence is stated.
  • my-answer.md — my answer, with its comments (my-answer-2.md where I answered twice).
  • other-answer-<id>.md — every other answer on the question, kept as context; each names its author.
  • my-answer.py / .js / … — the code blocks from my answer, verbatim, where the answer had code. Anything added later to make a folder runnable (requirements, sample input, a run note) is dated when it is added.

Each chapter folder has a README listing its questions; the index below is generated by tools/build_index.py.

Dates and authorship

Git lets a commit carry any date and any author, which is what makes a migration honest or dishonest. Here, three kinds of commit hold the imported posts, and each says what it is:

  • My answers (my-answer.md): author and committer are me, author date and committer date are both the moment I posted the answer, taken from the Stack Exchange API. These are the commits that count as my activity.
  • Questions (question.md) and other people's answers (other-answer-*.md): the git author is the person who wrote the post, with a placeholder address in the reserved .invalid domain carrying their Stack Exchange user id (the real address is not public, and the placeholder can never deliver mail), and the author date is the moment they posted it; I am the committer, with the committer date set to the real import time. git log --format=fuller shows both dates on each of these commits, and GitHub lists them as authored by the poster and committed by fwSara95h, which is exactly what happened: their text, put into this repository by me in October 2026. None of them counts as my activity.
  • Everything else — the extracted code files, the indexes, this README, and all later work — is committed by me when it was actually done.

Every commit message states the source URL, the posting date, the last revision date, the retrieval date and a sha256 of the text, so the history can be checked against Stack Overflow line by line. Co-authored-by trailers name anyone who later edited a post (an asker who edited my answer, an editor who tidied a question) and Claude, which generated the files and the import; the trailers are attribution, not a claim that those people worked in this repository.

Licence

Everything here that was posted on Stack Exchange is CC BY-SA 4.0, and so is this repository (see LICENSE.md); the questions, the other answers and the comments are their authors' work, attributed in place. My own text and code are mine to license otherwise, and my code is additionally available under the MIT licence where it is entirely mine.

Index

447 questions · 448 answers by me · 189 accepted · 221 answers by others kept as context. Generated by tools/build_index.py; each chapter folder has its own README with one row per question.

Chapter Questions Accepted Answers by others With code
A1 — Building, updating and reading dicts: key paths and defaults 43 17 26 39
A2 — Flattening and walking nested structures 6 1 3 6
A3 — Reshaping lists of dicts: sort, group, dedupe, merge 10 5 3 9
A4 — JSON, CSV and Excel in and out 6 2 3 6
A5 — pandas: building and reshaping DataFrames 40 15 32 40
C1 — Selecting and navigating HTML 79 30 33 76
C10 — Platforms: Facebook, Twitter, YouTube, TikTok, LinkedIn, Glassdoor 12 2 1 11
C11 — Saving results: CSV, Excel, PDF, Google Sheets 17 9 7 16
C2 — Getting clean text out of tags 31 11 20 26
C3 — Links, attributes, images and downloads 25 12 10 21
C4 — Tables into DataFrames 17 8 4 17
C5 — Why is it empty? Debugging None and [] 16 8 6 16
C6 — Pagination and crawling 25 11 11 24
C7 — JavaScript-rendered pages: Selenium and friends 60 31 18 56
C8 — Hidden APIs and JSON inside script tags 17 12 4 17
C9 — Blocked requests: headers, Cloudflare, scraping services 11 4 2 11
G1 — JavaScript / DOM one-offs 18 7 22 14
G2 — Small Python one-offs 7 0 13 7
X — English Language & Usage and English Language Learners 7 4 3 0

About

My Stack Overflow answers (2022–2025), each committed at the time I posted it; the questions and other people's answers carry their posters' names and dates and were imported by me in 2026. One folder per question, with the code — see README and PROVENANCE.md.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages