由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
EB23版 - 请问以前有人贴了一个用python写的扫号器的帖子在哪里?
相关主题
Yet another scannerany update after did finger print?
I-140 file 三个月了, case number还查不到statusPD 2007, RD 2/7/2012 485 online status approved, no FP y
SRC号码看过来请问finger print做完之后case status上是否应该有显示?
一天刷uscis case status 10次算正常吗?SR STATUS
好心人给点祝福吧,我们等着AP回家接宝宝呢!贡献一段代码
关于改地址Finger print expiring after 15 month?
485 rrfe 后要求finger print自动刷unofficial pdf的script
收到卡了EAD renewal package 7月19号送达Phoenix Lockbox
相关话题的讨论汇总
话题: caseid话题: 13s话题: status话题: datestr话题: 485list
进入EB23版参与讨论
1 (共1页)
m******g
发帖数: 3667
1
我搜了半天,也没有找到。
有人有链接吗?
r****t
发帖数: 10904
2
同求
m******g
发帖数: 3667
3
你还记得那个帖子的题目叫什么吗?
我搜了"扫号器“,”扫“,”号“,”器“,都没有搜到

【在 r****t 的大作中提到】
: 同求
B******i
发帖数: 213
4
>60% AP for SRC1290188840 to SRC1290188890 get approved

【在 m******g 的大作中提到】
: 我搜了半天,也没有找到。
: 有人有链接吗?

m******g
发帖数: 3667
5
我就是那40%里面的。 :(

【在 B******i 的大作中提到】
: >60% AP for SRC1290188840 to SRC1290188890 get approved
c**n
发帖数: 312
6
改进版:
from time import sleep
import urllib2
import re
import sys
file = open(sys.argv[1])
cases = file.readlines()
typeP = re.compile('Your Current Case Status for Form (\w+)')
statusP = re.compile('Your Case Status:
([\w\s/]*?)')
dateP = re.compile('(January|February|March|April|May|June|July|August|
September|Octobert|November|December) \d{1,2}, \\
d{4}')
for caseId in cases:
caseId = caseId.strip()
req = urllib2.Request("https://egov.uscis.gov/cris/Dashboard/CaseStatus.
do?appReceiptNum=" + caseId)
response = urllib2.urlopen(req)
html = response.read()
type = typeP.search(html)
status = statusP.search(html);
date = dateP.search(html);
dateStr = date and date.group() or "Unknown date"
if type and status:
print '%13s %8s %s Updated on %s' % (caseId, type.group(1),
status.group(1).strip(), dateStr)
else:
print '%13s not found.' % caseId
sleep(10)
Run like: python read1.py 485List
where 485List contains all the 485 receipt numbers like:
SRC1290042201
SRC1290042206
SRC1290042209
SRC1290042213
SRC1290042216
SRC1290042218
If you want to get all 485 numbers. I will post a follow-up.
c**n
发帖数: 312
7
You can use the code in http://www.mitbbs.com/article_t0/EB23/31732133.html to get the 485 number and put them into a file.
I will change
print '%13s %8s %s Updated on %s' % (caseId, type.group(1),
status.group(1).strip(), dateStr)
to
print '%13s' % (caseId)
and run
python read.py SRC 1290042200 1290042601 | grep i485 > 485List
Have fun!
c**n
发帖数: 312
8
Don't give up. A 485 right in front of me (RD 11/11) was approved yesterday.
Not sure cateogry, PD, etc.

【在 m******g 的大作中提到】
: 我就是那40%里面的。 :(
m******g
发帖数: 3667
9
我现在指纹通知也没有,前后AP都批了。就是不批我和我老婆的。
对了,我把你的code稍微改了一下。晚上贴出来。

yesterday.

【在 c**n 的大作中提到】
: Don't give up. A 485 right in front of me (RD 11/11) was approved yesterday.
: Not sure cateogry, PD, etc.

1 (共1页)
进入EB23版参与讨论
相关主题
EAD renewal package 7月19号送达Phoenix Lockbox好心人给点祝福吧,我们等着AP回家接宝宝呢!
怎样call USCIS要求Service Request?关于改地址
参众两院。485 rrfe 后要求finger print
收到service request reply,请看看什么意思?收到卡了
Yet another scannerany update after did finger print?
I-140 file 三个月了, case number还查不到statusPD 2007, RD 2/7/2012 485 online status approved, no FP y
SRC号码看过来请问finger print做完之后case status上是否应该有显示?
一天刷uscis case status 10次算正常吗?SR STATUS
相关话题的讨论汇总
话题: caseid话题: 13s话题: status话题: datestr话题: 485list