Skip to content

Instantly share code, notes, and snippets.

@ascott1
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save ascott1/c779c54331cfcecf552c to your computer and use it in GitHub Desktop.

Select an option

Save ascott1/c779c54331cfcecf552c to your computer and use it in GitHub Desktop.
for ident in ('ER27DE11.000-1', 'ER27DE11.000-1', 'ER22DE11.003-1',
'ER22DE11.004-1', 'ER22DE11.005-1', 'ER22DE11.006-1',
'ER22DE11.007-1', 'ER22DE11.008-1', 'ER22DE11.009-1',
'ER22DE11.010-1', 'ER22DE11.011-1', 'ER22DE11.011-2',
'ER22DE11.012-1', 'ER22DE11.014-1', 'ER22DE11.017-1',
'ER22DE11.020-1', 'ER22DE11.021-1', 'ER22DE11.022-1',
'ER22DE11.023-1', 'ER22DE11.024-1', 'ER22DE11.025-1',
'ER22DE11.025-2', 'ER22DE11.026-1', 'ER22DE11.026-2',
'ER22DE11.027-1', 'ER22DE11.028-1', 'ER22DE11.029-1',
'ER22DE11.031-1', 'ER22DE11.031-2', 'ER22DE11.032-1',
'ER22DE11.032-2', 'ER22DE11.032-3',
'ER22DE11.033-1', 'ER22DE11.034-1', 'ER22DE11.038-2',
'ER22DE11.038-3', 'ER22DE11.039-1', 'ER22DE11.039-2',
'ER22DE11.041-1', 'ER22DE11.042-1', 'ER22DE11.043-1',
'ER22DE11.044-1', 'ER22DE11.045-1', 'ER22DE11.048-1',
'ER22DE11.049-1', 'ER22DE11.050-1', 'ER22DE11.052-1',
'ER22DE11.054-1', 'ER22DE11.056-1', 'ER22DE11.058-1',
'ER22DE11.060-1',
'ER22DE11.062-1', 'ER22DE11.062-2', 'ER22DE11.063-1',
'ER22DE11.063-2', 'ER22DE11.064-1', 'ER22DE11.065-1',
'ER22DE11.066-1', 'ER22DE11.066-2', 'ER22DE11.067-1',
'ER22DE11.067-2', 'ER22DE11.068-1', 'ER22DE11.069-1',
'ER22DE11.070-1', 'ER22DE11.070-2', 'ER22DE11.071-1',
'ER22DE11.018', 'ER22DE11.019', 'ER22DE11.036',
'ER22DE11.037', 'ER22DE11.046', 'ER22DE11.047',
'ER22DE11.051', 'ER22DE11.053', 'ER22DE11.055',
'ER22DE11.057', 'ER22DE11.059',
'ER30JA13.001', 'ER30JA13.002', 'ER30JA13.003',
'ER30JA13.004', 'ER30JA13.005',
'ER14FE13.003-1', 'ER14FE13.004-1', 'ER14FE13.005-1',
'ER14FE13.006-1', 'ER14FE13.007-1', 'ER14FE13.007-2',
'ER14FE13.008-1', 'ER14FE13.009-1', 'ER14FE13.010-1',
'ER18SE14.015', 'ER18SE14.016'
):
overrides[ident] = "http://files.consumerfinance.gov/eregulations/" + ident + ".png"
for i in range(4, 157):
ident = 'ER31DE13.%03d' % i
overrides[ident] = "http://files.consumerfinance.gov/eregulations/" + ident + ".png"
@cmc333333

Copy link
Copy Markdown

This doesn't work because these two 404:
http://files.consumerfinance.gov/eregulations/ER18SE14.015.png
http://files.consumerfinance.gov/eregulations/ER18SE14.016.png

Are the files on the CDN? Maybe in a different folder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment