Comments (13)
Is there a reason why you want to download OTAs from theiphonewiki and not just from apple?
from ipsw.
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.
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.
It looks like the ipsw.me dude has old OTAs, maybe I could add support for those?
from ipsw.
I guess you were interested in BETA OTAs right? Which ipsw.me doesn't have ๐ค
from ipsw.
This kinda makes me want to build my own version of ipsw.me ๐ฌ
from ipsw.
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.
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.
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.
FYI @glen-mac I added --pattern
to the ipsw download ota
cmd
from ipsw.
ah lovely, thanks!
from ipsw.
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.
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)
- Refresh `--help` output HOT 1
- error when class-dump HOT 12
- ipsw dyld extract --all fails with optimization failure HOT 2
- SIGSEGV when scanning macOS 14.4.1 IPSW HOT 4
- ipsw swift-dump errors on Intel HOT 2
- Fix docs full text search HOT 1
- Resumed downloads freeze when complete
- New `ipsw verify` command? HOT 1
- Trying to `class-dump` UIKitCore results in out of range exception HOT 10
- fail to class dump HOT 5
- class dump all images HOT 1
- Truncating class-dump headers might cause them not to be properly imported in the umbrella.h
- 'ipsw dyld slide' Broken on MacOS 15 Beta Shared Cache HOT 2
- Sort members of generated headers for better diffing
- Crash when extracting entitlement in Mac_15.0_24A5279h beta build HOT 1
- ipsw symbolicate: hide absolute 0 from symbolicate panic backtraces HOT 1
- ipsw symbolicate: add 'unslide' support to panic 210 logs
- ipsw symbolicate: isCorpse is typed int (instead of bool) on iOS 15+ ips HOT 2
- Delta OTA's missed without --build and --version passed HOT 4
- ipsw_db missing new M4 iPads HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipsw.