Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
T
Tidal
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PLN
  • Tidal
  • Repository

Switch branch/tag
  • Tidal
  • armada
  • tide-table
  • probe_upload_dom.py
Find file
BlameHistoryPermalink
  • PLN (Algolia)'s avatar
    feat(probe): look at the page instead of guessing — the form was in an iframe · 85123f6a
    Two probes for the SoundCloud upload flow. `probe_upload_dom.py` is the one that
    settled it: rather than hypothesise about why /upload showed no file input, it
    dumps overlays and z-indexes, enumerates every frame, walks shadow roots, prints
    the main region's text, and tries clicking whatever looks like a drop zone. The
    answer arrived in one run — 0 file inputs in the top document, 1 in a nested
    same-origin iframe at /n/upload.
    
    `probe_upload_ui.py` now attaches in that frame and listens on the CONTEXT
    rather than the page, because a frame's fetches never surface on the parent's
    request event — the same blind spot in a second guise. It reached the real form:
    inputs named title / trackPermalink / artist, plus an Upload button.
    
    It captured zero finalize requests, and that is correct: it deliberately stops
    short of clicking Upload, and the finalize call only fires on that click. Which
    raises the better question — with a real form and a real Upload button in front
    of us, reconstructing `POST /tracks` may be work we never have to do.
    PLN (Algolia) authored Aug 17, 2026
    85123f6a
probe_upload_dom.py 4.22 KB
EditWeb IDE
×

Replace probe_upload_dom.py

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.