pull/1/head
Matteo Cargnelutti 2022-11-18 17:36:50 -05:00
rodzic ed4194cf31
commit 13578b5923
2 zmienionych plików z 9 dodań i 5 usunięć

Wyświetl plik

@ -106,7 +106,7 @@
<p>There are lots of screenshots of Twitter threads going around. Some are real, some are fake. You can't tell who made them, or when they were made.</p>
<p>PDFs let us apply document signatures and timestamps so anyone can check, in the future, that a PDF you download with "archive.social" really came from the Harvard Library Innovation Lab and hasn't been edited. PDFs also let us bundle in additional media as attachments. Each signed PDF currently includes all images in the page (so you can see full size images that are cropped in the PDF view) and the primary video on the page if any.</p>
<p>PDFs let us apply document signatures and timestamps so anyone can check, in the future, that a PDF you download with "archive.social" really came from the Harvard Library Innovation Lab and hasn't been edited. PDFs also let us bundle in additional media as attachments. Coming soon pending a bug fix: Each signed PDF will include all images in the page (so you can see full size images that are cropped in the PDF view) and the primary video on the page if any.</p>
<h2>Why <em>not</em> make a PDF archiving tool for Twitter?</h2>
@ -120,6 +120,10 @@
<p>Captures can take as long as a minute, because we scroll to load resources from the entire Twitter thread.</p>
<h2>Why didn't my requested URL capture correctly?</h2>
<p>If a page fails to capture correctly after a few attempts, let us know. Also note that some PDF viewers will truncate very large PDFs, so you may need to try a different viewer if the top and bottom are hidden.</p>
<h2>How do I check that a PDF came from you?</h2>
<p>You can download <a href="https://crt.sh/?id=8004113167">this public key file</a> and add it to Adobe Acrobat. We'll also add a page on our site shortly where you can upload a PDF and we'll confirm whether it really came from us.</p>
@ -134,8 +138,8 @@
<h2>What is your privacy policy?</h2>
<p>We do not log individual Twitter URLs captured, and we do not store PDF files after delivering them to you. We do log cryptographic hashes of all PDF files delivered, in case there is a later question of authenticity. We also store normal server request logs.</p>
<p>We may log requested Twitter URLs and may store cached copies of delivered archives. We also log cryptographic hashes of all PDF files delivered, in case there is a later question of authenticity. We store normal server request logs.</p>
</section>
<!-- FOOTER -->

Wyświetl plik

@ -385,9 +385,9 @@ export class TwitterCapture {
throw new Error("Playwright is not ready.");
}
// Scroll up and wait ~2s
// Scroll up
await this.playwright.page.evaluate(() => window.scrollTo({top: 0}));
await new Promise(resolve => setTimeout(resolve, this.options.renderTimeout));
//await new Promise(resolve => setTimeout(resolve, this.options.renderTimeout));
// Generate document
await this.playwright.page.emulateMedia({media: 'screen'});