Scraping Apple device specs is broken
See original GitHub issueError when we launch this command :
npx pwa-asset-generator logo.svg -b "linear-gradient(to bottom, #980005 0%, #CE3328 100%) fixed" --index ./index.html --manifest ./manifest.json
Console :
11:27:01 getSplashScreenMetaData Initialising puppeteer to load latest splash screen metadata π€
11:27:01 getAppleSplashScreenData Navigating to Apple Human Interface Guidelines website - https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/adaptivity-and-layout/
11:27:02 getAppleSplashScreenData Waiting for the data table to be loaded
11:27:02 getAppleSplashScreenData Retrieved splash screen data
11:27:02 getDeviceScaleFactorData Navigating to Apple Human Interface Guidelines website - https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/
11:27:05 getDeviceScaleFactorData Retrieved scale factor data
11:27:05 getSplashScreenMetaData Loaded metadata for iOS platform π
11:27:05 saveImages Initialising puppeteer to take screenshots π€
11:27:05 getShellHtml Generating shell html with provided image source
11:27:05 getShellHtml Providing shell html as page content
11:27:05 saveImages Saved image apple-splash-0-0 π
11:27:05 saveImages Saved image manifest-icon-192 π
11:27:05 saveImages Saved image apple-icon-120 π
11:27:05 saveImages Saved image apple-icon-180 π
11:27:05 saveImages Saved image apple-splash-414-896 π
11:27:05 saveImages Saved image apple-icon-152 π
11:27:05 saveImages Saved image apple-icon-167 π
11:27:05 saveImages Saved image apple-splash-768-1024 π
11:27:05 saveImages Saved image apple-splash-768-1024 π
11:27:05 saveImages Saved image apple-splash-375-667 π
11:27:05 saveImages Saved image manifest-icon-512 π
11:27:05 saveImages Saved image apple-splash-1024-1366 π
11:27:05 saveImages Saved image apple-splash-375-812 π
11:27:05 saveImages Saved image apple-splash-810-1080 π
11:27:05 saveImages Saved image apple-splash-0-0 π
11:27:05 saveImages Saved image apple-splash-414-736 π
11:27:05 saveImages Saved image apple-splash-414-896 π
11:27:05 saveImages Saved image apple-splash-375-812 π
11:27:05 saveImages Saved image apple-splash-0-0 π
11:27:05 saveImages Saved image apple-splash-375-667 π
11:27:05 saveImages Saved image apple-splash-320-568 π
11:27:05 saveImages Saved image apple-splash-414-736 π
11:27:05 saveImages Saved image apple-splash-414-896 π
11:27:05 saveImages Saved image apple-splash-834-1194 π
11:27:05 saveImages Saved image apple-splash-834-1112 π
and result in index.html :
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-startup-image" href="apple-splash-1024-1366.jpg" media="(device-width: 512px) and (device-height: 683px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-0-0.jpg" media="(device-width: 0px) and (device-height: 0px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="apple-splash-834-1194.jpg" media="(device-width: 417px) and (device-height: 597px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-768-1024.jpg" media="(device-width: NaNpx) and (device-height: NaNpx) and (-webkit-device-pixel-ratio: undefined) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-0-0.jpg" media="(device-width: NaNpx) and (device-height: NaNpx) and (-webkit-device-pixel-ratio: undefined) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="apple-splash-834-1112.jpg" media="(device-width: NaNpx) and (device-height: NaNpx) and (-webkit-device-pixel-ratio: undefined) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-810-1080.jpg" media="(device-width: NaNpx) and (device-height: NaNpx) and (-webkit-device-pixel-ratio: undefined) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-768-1024.jpg" media="(device-width: 384px) and (device-height: 512px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-414-896.jpg" media="(device-width: NaNpx) and (device-height: NaNpx) and (-webkit-device-pixel-ratio: undefined) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-375-812.jpg" media="(device-width: NaNpx) and (device-height: NaNpx) and (-webkit-device-pixel-ratio: undefined) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-414-896.jpg" media="(device-width: 138px) and (device-height: 298.6666666666667px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-0-0.jpg" media="(device-width: 0px) and (device-height: 0px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="apple-splash-375-812.jpg" media="(device-width: 125px) and (device-height: 270.6666666666667px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-414-896.jpg" media="(device-width: 207px) and (device-height: 448px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-414-736.jpg" media="(device-width: 138px) and (device-height: 245.33333333333334px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-375-667.jpg" media="(device-width: 187.5px) and (device-height: 333.5px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-414-736.jpg" media="(device-width: NaNpx) and (device-height: NaNpx) and (-webkit-device-pixel-ratio: undefined) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-375-667.jpg" media="(device-width: NaNpx) and (device-height: NaNpx) and (-webkit-device-pixel-ratio: undefined) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="apple-splash-320-568.jpg" media="(device-width: NaNpx) and (device-height: NaNpx) and (-webkit-device-pixel-ratio: undefined) and (orientation: portrait)">
</head><body></body></html>
we have device-height with NaNpx.
It worked 3 month ago.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11
Top Results From Across the Web
Scrapping Apple iPads and Tablets - YouTube
Apple iPad opened up to see what's inside for precious metal recovery.Not a great deal inside with a very small motherboard.Keep scrapping ......
Read more >Important safety information for iPhone - Apple Support
Don't use iPhone with cracked glass, as it may cause injury. If you're concerned about scratching the surface of iPhone, consider using a...
Read more >My Retina Display has stain damage, HELP!β¦
It looks terrible and getting worse and worse. I bought my MacBook pro retina 13'' exactly 11 months ago and it is under...
Read more >how do i find out the spec of my broken mac - Apple Discussions
My macbook pro 17inch is smashed. I am in the process of an insurance claim and there is dispute its spec. I know...
Read more >Weird scratch-like spots showing on up on⦠- Apple Community
Hey everyone, about a month ago I started to notice these little scratch-like spots along the edge of my display, but I'm not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for that tool , its really cool and helpful !
π This issue has been resolved in version 3.1.2 π
The release is available on:
Your semantic-release bot π¦π