SR05 commited on
Commit
c05f4f8
1 Parent(s): 76fdd8f

Upload Visa_decision.ipynb

Browse files
Files changed (1) hide show
  1. Visa_decision.ipynb +153 -0
Visa_decision.ipynb ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [
8
+ {
9
+ "name": "stdout",
10
+ "output_type": "stream",
11
+ "text": [
12
+ "Paragraph 1: Ireland’s global footprint is growing. Explore the breadth of Ireland’s relationships with countries around the world:\n",
13
+ "--------------------------------------------------------------------------------\n",
14
+ "Paragraph 2: There are over 100 Irish missions abroad who can provide consular services. Locate your nearest Embassy, Consulate General or Representative Office:\n",
15
+ "--------------------------------------------------------------------------------\n",
16
+ "Paragraph 3: Ireland’s global footprint is growing. Explore the breadth of Ireland’s relationships with countries around the world:\n",
17
+ "--------------------------------------------------------------------------------\n",
18
+ "Paragraph 4: There are over 100 Irish missions abroad who can provide consular services. Locate your nearest Embassy, Consulate General or Representative Office:\n",
19
+ "--------------------------------------------------------------------------------\n",
20
+ "Paragraph 5: 18 July 2024\n",
21
+ "--------------------------------------------------------------------------------\n",
22
+ "Paragraph 6: The processing times below refer to the median, meaning some applications can take longer to process forvarious reasons. To avoid any unforeseen delays disrupting your travel plans, you should apply six to eight weeks in advance of your travel dates.\n",
23
+ "--------------------------------------------------------------------------------\n",
24
+ "Paragraph 7: Remember: Processing times relate to the number of working days, from date of application receipt in the Embassy to date of decision in the Embassy. They do not include the time it takes to secure a VFS appointment, the time it takes for your documents to reach the Embassy from VFS or the time it takes to reach your home address after a decision (seeVFS transit times). Importantly, working days exclude Saturdays, Sundays andEmbassy closure dates.\n",
25
+ "--------------------------------------------------------------------------------\n",
26
+ "Paragraph 8: * Categorisation is based on section 16.4 of thePolicy Document on Non-EEA Family Reunification.\n",
27
+ "--------------------------------------------------------------------------------\n",
28
+ "Paragraph 9: ** Some Join family applications fall underDublin-based processing.\n",
29
+ "--------------------------------------------------------------------------------\n",
30
+ "Paragraph 10: Applications are processed chronologically and in line with the above processing times. Each day a list of all decision made, to date in the year, is posted in thevisa decisions sectionbelow. Applicants can search for their application reference number in this list.\n",
31
+ "--------------------------------------------------------------------------------\n",
32
+ "Paragraph 11: Once a decision is made your documents are returned via VFS (India and Nepal), our Honorary Consulate (Sri Lanka) or arranged through courier through VFS (Bangladesh).\n",
33
+ "--------------------------------------------------------------------------------\n",
34
+ "Paragraph 12: The above processing times relate to the median, or average case.\n",
35
+ "--------------------------------------------------------------------------------\n",
36
+ "Paragraph 13: If your application has not been processed within these stated time, it is likely it has been delayed for various reasons, such as a delay in biometric information, ineligibility (applicants must ensure they qualify for a visa before applying) or your application is awaiting verification.\n",
37
+ "--------------------------------------------------------------------------------\n",
38
+ "Paragraph 14: If you have applied for a Join family visa and your application has been delayed, it is likely that, on initial assessment, your sponsor has not met the criteria set out in thePolicy Document on Non-EEA Family Reunification. In order to avoid delays, ensure that both the applicant and sponsor meet the required criteria, specifically under sections 16 and 17,before you apply.\n",
39
+ "--------------------------------------------------------------------------------\n",
40
+ "Paragraph 15: As per section 17, for a visa to be approved for a family member of a Category B sponsor (e.g. General Employment Permit holder), the sponsor must meet the following financial criteria:\n",
41
+ "--------------------------------------------------------------------------------\n",
42
+ "Paragraph 16: \n",
43
+ "--------------------------------------------------------------------------------\n",
44
+ "Paragraph 17: Where possible, you should provide Revenue issuedEmployment Detail Summary (EDS) formsshowing you meet the relevant thresholds in each of the two previous years. If you do not have full year EDS forms, you should provide salary slips for the year to date showing the relevant gross and net earnings.\n",
45
+ "--------------------------------------------------------------------------------\n",
46
+ "Paragraph 18: For Category B sponsors who have resided in Ireland for less than two full years, earnings accrued outside of Ireland can be considered if evidence is provided.\n",
47
+ "--------------------------------------------------------------------------------\n",
48
+ "Paragraph 19: We currently have a backlog of Join family appeals, specifically those involving Category B sponsors in Ireland who failed to meet the criteria above.\n",
49
+ "--------------------------------------------------------------------------------\n",
50
+ "Paragraph 20: We are working through this backlog; however, processing times will be delayed and will mimic those of similar appeals processed in Dublin. Please see the following link for expected processing times:https://www.irishimmigration.ie/visa-decisions/#visa\n",
51
+ "--------------------------------------------------------------------------------\n",
52
+ "Paragraph 21: Applications lodged at Delhi VAC arrive at the Embassy the next working day. Applications lodged elsewhere take two working days to be received, while applications lodged at Cochin and Kathmandu VACs take between four and six working days to be received.\n",
53
+ "--------------------------------------------------------------------------------\n",
54
+ "Paragraph 22: Once your application is decided, the return package is sent to Delhi VAC the next working day. From Delhi VAC they are dispatched to Blue Dart for delivery to the address provided. Generally, return packages are delivered by Blue Dart within two working days of collection from Delhi VAC; however, local or external factors can affect the delivery times.\n",
55
+ "--------------------------------------------------------------------------------\n",
56
+ "Paragraph 23: Applicants should be mindful of the two way document transit times, which should be added to our median processing times, when calculating how long it will take for the average visa to be received.\n",
57
+ "--------------------------------------------------------------------------------\n",
58
+ "Paragraph 24: Those applying under the following categories will have their application transferred to our head office in Dublin for processing:\n",
59
+ "--------------------------------------------------------------------------------\n",
60
+ "Paragraph 25: Processing times for these applications will differ from the processing times listed above. If your application falls into one of these categories you should visit theIrish Immigration Service website. Any queries relating to these applications must be addressed toVisa Division in Dublin, our office has not role in processing these applications.\n",
61
+ "--------------------------------------------------------------------------------\n",
62
+ "Paragraph 26: Each morning, by approx. 11:00 (Indian standard time), we publish a list of visa outcomes made to date in 2024, up to the night before. Applications not included in the list are still awaiting an outcome in the Embassy.\n",
63
+ "--------------------------------------------------------------------------------\n",
64
+ "Paragraph 27: Please remember, we process applications chronologically, in line with advertisedprocessing times.\n",
65
+ "--------------------------------------------------------------------------------\n",
66
+ "Paragraph 28: Visa decisions made from 1 January 2024 to 7 November 2024(.ods, 506KB)\n",
67
+ "--------------------------------------------------------------------------------\n",
68
+ "Paragraph 29: Visa outcome data is hosted on behalf of the responsible authority, theIrish Immigration Service.\n",
69
+ "--------------------------------------------------------------------------------\n",
70
+ "Paragraph 30: This is a prototype - your feedback will help us to improve it.Leave feedback.\n",
71
+ "--------------------------------------------------------------------------------\n",
72
+ "Paragraph 31: Follow us\n",
73
+ "--------------------------------------------------------------------------------\n",
74
+ "Paragraph 32: © Copyright 2024 - Ireland.ie | All rights reserved\n",
75
+ "--------------------------------------------------------------------------------\n",
76
+ "\n",
77
+ "Table found:\n",
78
+ "Visa category\tSub-category\tFirst instance decision\tAppeal decision\n",
79
+ "Business / Conference / Event\t\t12 working days\t2 calendar months\n",
80
+ "Employment\tCategory A*\t20 working days\t2 calendar months\n",
81
+ "\tCategory B*\t40 working days\t3 calendar months\n",
82
+ "Join family**\t\t3 calendar months\t12 calendar months\n",
83
+ "Study\t\t30 working days\t2 calendar months\n",
84
+ "Visit\t\t25 working days\t2 calendar months\n",
85
+ "Other*\t\t12 working days\t2 calendar months\n"
86
+ ]
87
+ }
88
+ ],
89
+ "source": [
90
+ "import requests\n",
91
+ "from bs4 import BeautifulSoup\n",
92
+ "\n",
93
+ "# URL of the website to scrape\n",
94
+ "url = \"https://www.ireland.ie/en/india/newdelhi/services/visas/processing-times-and-decisions/\"\n",
95
+ "\n",
96
+ "# Headers to mimic a browser request\n",
97
+ "headers = {\n",
98
+ " \"User-Agent\": (\n",
99
+ " \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 \"\n",
100
+ " \"(KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"\n",
101
+ " )\n",
102
+ "}\n",
103
+ "\n",
104
+ "# Send an HTTP GET request to the website with headers\n",
105
+ "response = requests.get(url, headers=headers)\n",
106
+ "\n",
107
+ "# Check if the request was successful (status code 200)\n",
108
+ "if response.status_code == 200:\n",
109
+ " # Parse the HTML content of the page\n",
110
+ " soup = BeautifulSoup(response.content, 'html.parser')\n",
111
+ " \n",
112
+ " # Extract relevant data (e.g., tables, headings, paragraphs)\n",
113
+ " paragraphs = soup.find_all('p')\n",
114
+ " for i, paragraph in enumerate(paragraphs, start=1):\n",
115
+ " print(f\"Paragraph {i}: {paragraph.get_text(strip=True)}\")\n",
116
+ " print(\"-\" * 80)\n",
117
+ " \n",
118
+ " # Example: Scraping tables (if there are any)\n",
119
+ " tables = soup.find_all('table')\n",
120
+ " for table in tables:\n",
121
+ " print(\"\\nTable found:\")\n",
122
+ " rows = table.find_all('tr')\n",
123
+ " for row in rows:\n",
124
+ " cells = row.find_all(['th', 'td'])\n",
125
+ " cell_data = [cell.get_text(strip=True) for cell in cells]\n",
126
+ " print(\"\\t\".join(cell_data))\n",
127
+ "else:\n",
128
+ " print(f\"Failed to retrieve the webpage. Status code: {response.status_code}\")"
129
+ ]
130
+ }
131
+ ],
132
+ "metadata": {
133
+ "kernelspec": {
134
+ "display_name": "base",
135
+ "language": "python",
136
+ "name": "python3"
137
+ },
138
+ "language_info": {
139
+ "codemirror_mode": {
140
+ "name": "ipython",
141
+ "version": 3
142
+ },
143
+ "file_extension": ".py",
144
+ "mimetype": "text/x-python",
145
+ "name": "python",
146
+ "nbconvert_exporter": "python",
147
+ "pygments_lexer": "ipython3",
148
+ "version": "3.12.4"
149
+ }
150
+ },
151
+ "nbformat": 4,
152
+ "nbformat_minor": 2
153
+ }