Project

General

Profile

« Previous | Next » 

Revision bac96457

Added by koszko over 1 year ago

improve some of the fixes and add sample URLs for testing

View differences:

src/box.js
40 40
 * proprietary program, I am not going to enforce this in court.
41 41
 */
42 42

  
43
// meta: match should be https://***.app.box.com/s/* (*** instead of * for the first section because otherwise plain app.box.com URLs won't work)
44
// meta: some test cases (mostly found at https://old.reddit.com/search?q="box.com"&include_over_18=on&sort=new)
45
	// https://uwmadison.app.box.com/s/ydht2incbdmw1lhpjg5t40adguc0fm14
46
		// umadison's enrollment report
47
		// pdf
48
	// https://app.box.com/s/gc4ygloi4qtimeh98dq9mmydyuydawcn
49
		// password-protected 7z file (nsfw)
50
	// https://app.box.com/shared/static/su6xx6zx50cd68zdtbm3wfxhh9kwke8x.zip
51
		// a soundtrack in a zip file
52
		// This is a static download, so it works without this script.
53
	// https://app.box.com/s/vysdh2u78yih3c8leetgq82il954a3g3
54
		// some gambling ad
55
		// pptx
56
	// https://app.box.com/s/nnlplkmjhimau404qohh9my10pwmo8es
57
		// a list of books(?)
58
		// txt
59
	// https://ucla.app.box.com/s/mv32q624ojihohzh8d0mhhj0b3xluzbz
60
		// "COVID-19 Pivot Plan Decision Matrix"
61
		// If you load the proprietary scripts on this page, you'll see that there is no download button
62
	// TODO: find a public folder link (the private links I have seem to work)
63
	// TODO: find a (preferably public) link with a folder inside a folder, as these may need to be handled differently
43
/*
44
 * Use with https://***.app.box.com/s/*
45
 * '***' instead of '*' for the first section because otherwise plain app.box.com
46
 * URLs won't work.
47
 */
48

  
49
// TODO: find a public folder link (the private links I have seem to work)
50
// TODO: find a (preferably public) link with a folder inside a folder, as these may need to be handled differently
64 51

  
65 52
/* Extract data from a script that sets multiple variables. */ // from here: https://api-demo.hachette-hydrilla.org/content/sgoogle_sheets_download/google_sheets_download.js
66 53

  

Also available in: Unified diff