Spaces:
Sleeping
Sleeping
Commit ·
112c277
1
Parent(s): 42a8301
done: asean
Browse files
app/util/visa_availability_scraper_playwright.py
CHANGED
|
@@ -137,6 +137,10 @@ class PassportIndexVisaScraper:
|
|
| 137 |
Returns:
|
| 138 |
Dictionary with visa information or None if failed
|
| 139 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
try:
|
| 141 |
if self.debug:
|
| 142 |
print(f"🌐 Checking {passport_country.upper()} → {destination_country.upper()}")
|
|
|
|
| 137 |
Returns:
|
| 138 |
Dictionary with visa information or None if failed
|
| 139 |
"""
|
| 140 |
+
if destination_country.lower() == passport_country.lower():
|
| 141 |
+
return {
|
| 142 |
+
"text": "Same country"
|
| 143 |
+
}
|
| 144 |
try:
|
| 145 |
if self.debug:
|
| 146 |
print(f"🌐 Checking {passport_country.upper()} → {destination_country.upper()}")
|
asean_visa_avaibility_playwright.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|