Posts

Showing posts from October, 2018

uscis case dump in a given range

I am providing a simple Python script, that one can use to download USCIS cases in agiven range. The case data may provide you an idea on time of action in your case. Do not abuse the script and put undue pressure on USCIS system. Your IP will get blocked for abuse for long ranges. An abuse may be seen as DOS (denial of service) attack and may invoke felony proceedigs. To use the code, edit  "START_CASE", "END_CASE" and "fname" vaiables. Read comments for details. # Use this code very responsibly and do not abuse the system. Abusing the system may result in a felony. import requests #pip install htmldom from htmldom import htmldom import re import os CASE_TYPE = "I-485" # put the start case number in full as in the example below START_CASE = 'MSC2290530000' #MSC2290532863 # put the end case number in full as in the example below END_CASE = ' MSC2290540000 ' # file location to save the results fname = "case-with-date.c