楼主: alexxucui
跳转到指定楼层
上一主题 下一主题
收起左侧

[OPT] OPT YSC17902966XX timeline

🔗
dahoo 2017-9-30 07:16:04 | 只看该作者
全局:
本帖最后由 dahoo 于 2017-9-30 07:21 编辑

现在6600-6699的状态是:
Summary:. Waral dи,


Request for Initial Evidence Was Mailed-------------------------------------------------------------1

Correspondence Was Received And USCIS Is Reviewing It-----------------------------------------------1
. Χ
Case Was Transferred And A New Office Has Jurisdiction----------------------------------------------2

Name Was Updated------------------------------------------------------------------------------------2.--

New Card Is Being Produced--------------------------------------------------------------------------24. 1point3acres.com

Card Was Mailed To Me-------------------------------------------------------------------------------26. 1point 3acres

Case Not in System Yet------------------------------------------------------------------------------44. 1point 3 acres
回复

使用道具 举报

🔗
一次就好 2017-9-30 08:17:59 | 只看该作者
全局:
看到66xx的都已经mail了,而我这60XX的还是received,好忧桑!
回复

使用道具 举报

无效楼层,该帖已经被删除
🔗
xxlaipi 2017-10-3 02:22:55 | 只看该作者
全局:
dahoo 发表于 2017-9-30 07:16
现在6600-6699的状态是:
Summary:

求查一下:4800-4899
回复

使用道具 举报

🔗
sheepmiemie 2017-10-3 02:38:25 | 只看该作者
全局:
求楼主帮查一下17900058xx段~~谢谢
回复

使用道具 举报

🔗
sheepmiemie 2017-10-3 02:39:08 | 只看该作者
全局:
dahoo 发表于 2017-9-28 08:39
写了个脚本查了一下,基本上这附近的case不是card mailed就是还没更新到系统中。
YSC1790296600:Case Not  ...


求帮查一下17900058xx段~~谢谢
回复

使用道具 举报

🔗
tbjc1magic 2017-10-3 03:10:54 | 只看该作者
全局:
sheepmiemie 发表于 2017-10-3 02:39
求帮查一下17900058xx段~~谢谢
  1. #!/usr/bin/python

  2. """
  3. Crawl data from USCIS website
  4. https://egov.uscis.gov/casestatus/mycasestatus.do
  5. """.google  и
  6. . 1point 3 acres
  7. import os
  8. import time
  9. import sqlite3
  10. import random
  11. import urllib2
  12. from bs4 import BeautifulSoup, Comment
  13. from mechanize import Browser
  14. from dateutil.parser import parse
  15. import pandas as pd
  16. from datetime import datetime
  17. import numpy as np
  18. from pytz import timezone  

  19. ..
  20. ADDRESS = 'https://egov.uscis.gov/casestatus/mycasestatus.do'
  21. default_ua = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36'

  22. class Crawler:
  23.     def __init__(self,start,end, prefix, address = ADDRESS):
  24.         self.url = ADDRESS
  25.         self.browser = Browser()
  26.         self.start = start
  27.         self.end = end
  28.         self.headers= ['receivd','approved',
  29.                 'produce','mailed','rejected','amended',
  30.                 'transferred','exist','update']

  31.         #self.Init(start,end,prefix)
  32.         #self.Update(prefix)
  33. ..
  34.     def __del__(self):.1point3acres
  35.         pass

  36.     def getcontent(self, id):
  37.         '''Get contents from html page for given case id.'''
  38.         # randomize headers

  39.         #try:
  40.         #    header = {"Connection": "close", "User-Agent": ua.random}. ----
  41.         #except:
  42.         header = {"Connection": "close", "User-Agent": default_ua}. 1point 3acres

  43.         # estabish connection. Waral dи,
  44.         request = urllib2.Request(self.url, None, header)
  45.         self.browser.open(request)
  46.         self.browser.select_form(nr = 0)
  47.         self.browser['appReceiptNum'] = id
  48. . .и
  49.         # get response for a case
  50.         response = self.browser.submit()
  51.         content = response.read()

  52.         return content.google  и
  53. .
  54.     def getstatus(self, text):

  55.         if 'received your form i-765' in text:
  56.             return 0
  57.         elif 'approved' in text: ..
  58.             return 1. 1point3acres.com
  59.         elif 'ordered your new card' in text:.google  и
  60.             return 2
  61.         elif 'new card' in text:
  62.             return 3
  63.         elif 'rejected' in text:
  64.             return 4
  65.         elif 'received your correspondence for form i-765' in text:
  66.             return 5
  67.         elif 'transferred your form i-765' in text:
  68.             return 6. 1point3acres.com
  69.         else:
  70.             return 7 ..

  71.     def gettext(self, s):

  72.         try:
  73.             return parse(" ".join(s.split()[1:4])).date()
  74.         except:
  75.             return None

  76.     def getinfo(self, id):
  77.         content = self.getcontent(id)

  78.         tag = BeautifulSoup(content,'lxml').find_all('p')[0]
  79.         text = tag.get_text().replace(',', '').lower()

  80.         if id.lower() not in text: return id, None, None

  81.         try:
  82.             status = self.getstatus(text)
  83.             date = self.gettext(text)
  84.         except :
  85.             status, date = None, None

  86.         return id, status, date

  87.     def Init(self,start,end,prefix):.1point3acres
  88.         fname = 'book.csv'
  89.         headers = ['receivd','approved',
  90.                 'produce','mail','rejected','amended',
  91.                 'transferred','exist']. 1point 3acres
  92.         if os.path.exists(fname):
  93.             self.df = pd.read_csv('book.csv',names=headers,skiprows=[0])
  94.         else:
  95.             self.df = pd.DataFrame(columns = headers)

  96.         #print self.df
  97.         for idx in range(start,end):
  98.             if idx in self.df.index: continue. 1point 3acres

  99. .--
  100.             id, status, date = self.getinfo(prefix+'{:06d}'.format(idx))
  101.             if status is None:
  102.                 self.df.loc[idx] = [None]*(len(headers)-1)+[False]. Waral dи,
  103.             else:
  104.                 d = [None]*(len(headers)-1) + [True].google  и
  105.                 if status<(len(headers)-1): d[status] = date
  106.                 self.df.loc[idx] = d

  107.             #print id,status,date ..
  108.             if idx%20==0: self.df.to_csv('book.csv'). Χ


  109.     def Print(self,prefix,start,end):
  110. . 1point 3 acres
  111.         headers = self.headers
  112.         for idx in range(start,end+1):
  113.             id, status, date = self.getinfo(prefix+'{:06d}'.format(idx))

  114.             if 0<status<len(headers)-2:
  115.                 print prefix+'{:06d}'.format(idx),date,headers[status]. 1point3acres.com
  116.             else:
  117.                 print  prefix+'{:06d}'.format(idx),'not available'.
  118. . 1point3acres.com



  119. import os.path

  120. if __name__ == "__main__":
  121. ..
  122.     crawler = Crawler(start=290000, end=307000, prefix='YSC1790')
  123.     crawler.Print('YSC1790',295800,295900)
复制代码
给你发段我的code
回复

使用道具 举报

🔗
dahoo 2017-10-4 10:28:46 | 只看该作者
全局:
sheepmiemie 发表于 2017-10-3 02:39
求帮查一下17900058xx段~~谢谢

Summary:


Card Was Mailed To Me-------------------------------------------------------------------------------50
. 1point3acres.com
Card Was Delivered To Me By The Post Office---------------------------------------------------------22.google  и

Card Was Picked Up By The United States Postal Service----------------------------------------------13-baidu 1point3acres

Case Was Sent To The Department of State------------------------------------------------------------12

Case Was Approved-----------------------------------------------------------------------------------1

Card Returned Undeliverable-------------------------------------------------------------------------1

Correspondence Was Received And USCIS Is Reviewing It-----------------------------------------------1
回复

使用道具 举报

🔗
dahoo 2017-10-4 10:32:46 | 只看该作者
全局:
xxlaipi 发表于 2017-10-3 02:22
求查一下:4800-4899

Summary:


Case Not in System Yet------------------------------------------------------------------------------82

Card Was Mailed To Me-------------------------------------------------------------------------------14

New Card Is Being Produced--------------------------------------------------------------------------4
回复

使用道具 举报

🔗
Yiwei2333 2017-10-5 08:24:05 | 只看该作者
全局:
我是YSC1790283***,7/28 received,然后一直查不到更新。。结果今天收到EAD卡了,寄出时间9/28,喜大普奔~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表