Giter Site home page Giter Site logo

Comments (13)

blacktop avatar blacktop commented on August 17, 2024

Is there a reason why you want to download OTAs from theiphonewiki and not just from apple?

from ipsw.

glen-mac avatar glen-mac commented on August 17, 2024

iiuc apple will remove the links from their xml listings for OTA betas as they do for IPSW betas - this is to download older versions that are no longer signed

from ipsw.

blacktop avatar blacktop commented on August 17, 2024

Hey so I took another look at the iphonewiki and it is VERY complex and I'm not really sure how to proceed.

For starters crawling their tables is a nightmare because there is 0 standardization and I EVEN am using the API now and not just scraping and it is still VERY gross to work with.

Also OTAs don't really lend themselves to being "categorized" let me show you what I mean - https://www.theiphonewiki.com/wiki/OTA_Updates/iPhone/15.0

How would you query those OTA zips? ipsw download wiki --version 15.0 --prereqver 14.0.1 --ota --device iPhone8,1 --board N71AP ???

I guess typically peeps would want the n/a n/a version of OTAs?

So it's parsing HTML tables with random spans everywhere OR parsing wikitable markup with random spans everywhere.

๐Ÿคฎ

from ipsw.

blacktop avatar blacktop commented on August 17, 2024

It looks like the ipsw.me dude has old OTAs, maybe I could add support for those?

from ipsw.

blacktop avatar blacktop commented on August 17, 2024

I guess you were interested in BETA OTAs right? Which ipsw.me doesn't have ๐Ÿค”

from ipsw.

blacktop avatar blacktop commented on August 17, 2024

This kinda makes me want to build my own version of ipsw.me ๐Ÿ˜ฌ

from ipsw.

glen-mac avatar glen-mac commented on August 17, 2024

heh yeah it looks disgusting to scrape

re: the deltas the n/a prerequisite is really the only one of interest

iโ€™m surprised that ipsw.me doesnโ€™t catalogue these, must really only have importance to researchers.

from ipsw.

glen-mac avatar glen-mac commented on August 17, 2024

This just came to my attention if it is of any help in parsing.

https://www.theiphonewiki.com/w/index.php?title=Beta_Firmware/iPhone/14.x&action=raw

Noting the โ€œrawโ€ formatting.

from ipsw.

blacktop avatar blacktop commented on August 17, 2024

Yeah that is the format I'm consuming when I was talking to the API, I believe that is MediaWiki MarkUp format. However, it turned out to be almost equally annoying to work with due to the rowspan="5" I understand why the wiki authors do it, but it makes auto-parsing very difficult. You can see my initial attempts here - https://github.com/blacktop/ipsw/blob/master/internal/download/iphonewiki.go#L200

I'm not saying it's impossible, just that it is equally difficult due to having to keep track of the spans and then "repeating" the fields above to the following, what I'm calling, WikiIPSWs.

from ipsw.

blacktop avatar blacktop commented on August 17, 2024

FYI @glen-mac I added --pattern to the ipsw download ota cmd

from ipsw.

glen-mac avatar glen-mac commented on August 17, 2024

ah lovely, thanks!

from ipsw.

zcutlip avatar zcutlip commented on August 17, 2024

lol wish I'd seen this sooner. I actually did exactly this: I scrape the iPhone wiki, and I publish ipsw.me v2 compatible JSON at https://ipsw.inode.link/ipsw-beta.json, so you can grab full, non-OTA IPSWs.

Unfortunately the person who updates the wiki hasn't updated it since September, so my JSON feed isn't up to date either. :-(

from ipsw.

blacktop avatar blacktop commented on August 17, 2024

revamped the ipsw download wiki --ota --beta cmd to also allow you to filter by --pv prerequisite version and --pb prerequisite build (--pattern should still work) in latest release pushing out now (also it now parses the MediaWiki Markdown format exposed by the API

from ipsw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.