Closed Bug 1182542 Opened 9 years ago Closed 9 years ago

Scrape MDN URLs nested more than 5 levels

Categories

(developer.mozilla.org Graveyard :: BrowserCompat, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwhitlock, Assigned: jwhitlock)

References

()

Details

(Whiteboard: [bc:infra])

What problem would this feature solve? ====================================== Pages that are more than 5-levels deep are not imported into the browser compat API. Who has this problem? ===================== Core contributors to MDN How do you know that the users identified above have this problem? ================================================================== Reported in bug 1132658 by :fscholz How are the users identified above solving this problem now? ============================================================ They are not able to import data from these deeply nested pages. Do you have any suggestions for solving the problem? Please explain in detail. ============================================================================== The $children API has a maximum depth of 5 levels. Instead of asking for 5 levels of children from /Web, /Navigation_timing, etc., the tool should as for 1 level of children, and then recursively ask for the children of the result URLs. Is there anything else we should know? ====================================== Example page: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/getPrototypeOf
Assignee: nobody → jwhitlock
Severity: enhancement → normal
Status: NEW → ASSIGNED
Component: General → BrowserCompat
This has been fixed: https://github.com/mdn/browsercompat/pull/36 A recursive scan of /docs/Web/ found getPrototypeOf: http://localhost:8000/importer/6234 The GitHub hook that annotates Bugzilla on merges needs updating from the move to https://github.com/mdn/browsercompat, but that's another issue.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
A link to my local dev server isn't very helpful. Here's the import of getPrototypeOf: https://browsercompat.herokuapp.com/importer/6554
Keywords: in-triage
OS: Other → All
Summary: [Compat Data][Importer] Scrape MDN URLs nested more than 5 levels → Scrape MDN URLs nested more than 5 levels
Whiteboard: [specification][type:feature] → [bc:infra]
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.