diff --git a/src/constants.ts b/src/constants.ts index 81d2c92b4..35749f742 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -18,6 +18,7 @@ export const ENTRY_POINT_ELEMENTS = [ '[role="article"]', 'main', '[role="main"]', + '#main', '.article-body', '#content', 'body' // ensures there is always a match diff --git a/tests/expected/entry-point--id-main.md b/tests/expected/entry-point--id-main.md new file mode 100644 index 000000000..bc6fb5748 --- /dev/null +++ b/tests/expected/entry-point--id-main.md @@ -0,0 +1,64 @@ +```json +{ + "title": "Mailed in passport applications (adult renewals", + "author": "", + "site": "PC7)", + "published": "" +} +``` + +### Eligibility + +For an Adult passport renewal, you must be 18 years and over and you will need a passport that: + +- was issued when you were aged 16 or older +- was issued on or after 1 January 2006 +- had, when it was issued, at least two years’ validity +- has your current name, date of birth, place of birth and gender +- has not been reported lost, stolen, or cancelled, and +- you are not requesting a [replacement passport](https://www.passports.gov.au/help/replacement-passport) + +If you can answer yes to all the above, complete your passport renewal application [online](https://online.passports.gov.au/produce/). + +If you don’t meet these criteria, you’ll need lodge your application in person by appointment only. + +[![Book an appointment with Australian Embassy Bangkok using SetMore](https://my.setmore.com/webapp/images/bookappt/SetMore-book-button.png)](https://my.setmore.com/bookingpage/4d0e8f45-23ee-4b04-a10d-ab0149192866) + +### For applications lodged by mail in Thailand + +- For mailed in passport applications, a drop off and collection service at the Embassy is NOT available +- Please include a self-addressed envelope (either A5 or A4) for return of your completed document +- DO NOT send any original documents, including your existing passport +- Incomplete applications will be delayed. Common issues include: + - Photos that don’t meet the guidelines, are digitally altered, or have inks marks on them + - Signatures must be inside the declaration ‘white’ box, and application forms dated using the correct format (DD/MM/YYYY) + - Credit cards that are not enabled for international transactions +- If your passport is damaged, please contact us to discuss prior to mailing in your application +- If you are requesting a [replacement passport](https://www.passports.gov.au/help/replacement-passport) you will need to lodge in person. To book an appointment, go to our [main passports page](https://thailand.embassy.gov.au/bkok/Australian_Passports_Page.html). + +### Guide for Adult renewal application by mail + +| | #### 1\. Complete your renewal application form online - The application must be lodged within six months of completion | +| --- | --- | +| ![](https://thailand.embassy.gov.au/files/bkok/Passport%20graphic2.jpg) | #### 2\. Print and sign your application form - **Print** on **plain white A4 paper**, using **black ink** only. Make sure the top or bottom of the page is not cut off. - US standard letter paper or US legal paper sizes are also acceptable, but only if they’re scaled properly. - **Sign** the form using **black pen**, **within the signature box.** Make sure there are no alterations or whiteout on the signature or the date. | +| | #### 3\. Photos - Two recent identical colour photos, less than 6 months old with your full name written on the back of one photo. Refer to [photo guidelines](https://www.passports.gov.au/sites/default/files/2024-12/CameraOperatorGuide_A4-2025_1.pdf) for more information - Do NOT attach the photos to the form as this may damage them - Ensure ink from the endorsed photo does not transfer to the unendorsed photo ![](https://thailand.embassy.gov.au/files/bkok/ppt%20photo%20measurement.jpg) | +| | #### 4\. Payment - Complete the [payment authorisation form (PDF)](https://thailand.embassy.gov.au/files/bkok/Credit%20card%20authorisation%20form%20\(Bangkok-mar25\).pdf), include this with your application form - You can view more information on [passport fees](https://thailand.embassy.gov.au/bkok/Notarial_Service_and_Passport_Fees.html#Passport%20Fees) | +| | #### 5\. Check your adult renewal checklist - Before posting your application, review your [adult renewal checklist](https://thailand.embassy.gov.au/bkok/Passports_Checklists.html#Adult%20Passport%20Renewal%20\(Single%20page%20streamlined%20renewal%20form\)) | +| | #### 6\. Post your application - Post your application to the Embassy in Bangkok or Consulate-General in Phuket via the local postal system (registered post is recommended). - You **CANNOT** submit your application in person without an appointment. - Please **DO NOT** use delivery service such as Grab, LINE Man, Kerry, to submit your mailed-in application. We accept mailed-in application that comes in the Post Office mail system only. **(Bangkok / Chiang Mai)** Consular Services Section – Passport Services Australian Embassy Bangkok 181 Soi Arun McKinnon Wireless Road, Lumphini, Pathumwan Bangkok 10330 **(Phuket)** Consular Services Section – Passport Services Australian Consulate-General Phuket 6th Floor, CCM Complex 77/77 Chalermprakiat Rama 9 Road (Bypass Road) Phuket 83000 **Have you included:** - **Your printed and signed application form** - **Passport photos** - **A self-addressed A5 or A4 envelope (postage stamps not required)** - **Completed payment authorisation form** | +| | #### 7\. How long will it take? - Please allow **a minimum of six weeks** to receive a new passport once payment has been taken. **PLEASE NOTE** incomplete applications will cause delays. - We will post your new passport out to you via registered post (in-person collection is NOT available for mailed in applications) | + +## Questions? + +If you still have questions, please contact us directly to discuss before sending your application. + +**Bangkok** (including Chiang Mai) + +Telephone: +66 (0) 2 344 6300, select Consular Services option + +Email: \[email protected\] + +**Phuket** + +Telephone: +66 (0) 76 317 700 + +Email: \[email protected\] \ No newline at end of file diff --git a/tests/fixtures/entry-point--id-main.html b/tests/fixtures/entry-point--id-main.html new file mode 100644 index 000000000..f699da590 --- /dev/null +++ b/tests/fixtures/entry-point--id-main.html @@ -0,0 +1,1382 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Mailed in passport applications (adult renewals - PC7) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+ +
+
Australian Embassy
+
Thailand
+
+
+
+
+
+ + + +
+
+
+
+ +
+
+ + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + + +
+
+
+
+ + + +

Mailed in passport applications (adult renewals - PC7)

+ + + +
+
+
+
+ +
+
+
+ + + +

 

+ +

+ +

Eligibility

+ +

For an Adult passport renewal, you must be 18 years and over and you will need a passport that:

+ +
    +
  • was issued when you were aged 16 or older
  • +
  • was issued on or after 1 January 2006
  • +
  • had, when it was issued, at least two years’ validity
  • +
  • has your current name, date of birth, place of birth and gender
  • +
  • has not been reported lost, stolen, or cancelled, and
  • +
  • you are not requesting a replacement passport
  • +
+ +

If you can answer yes to all the above, complete your passport renewal application online.

+ +

If you don’t meet these criteria, you’ll need lodge your application in person by appointment only.

+ +

Book an appointment with Australian Embassy Bangkok using SetMore

+ +

For applications lodged by mail in Thailand

+ +
    +
  • For mailed in passport applications, a drop off and collection service at the Embassy is NOT available
  • +
  • Please include a self-addressed envelope (either A5 or A4) for return of your completed document
  • +
  • DO NOT send any original documents, including your existing passport
  • +
  • Incomplete applications will be delayed. Common issues include: +
      +
    • Photos that don’t meet the guidelines, are digitally altered, or have inks marks on them
    • +
    • Signatures must be inside the declaration ‘white’ box, and application forms dated using the correct format (DD/MM/YYYY)
    • +
    • Credit cards that are not enabled for international transactions
    • +
    +
  • +
  • If your passport is damaged, please contact us to discuss prior to mailing in your application
  • +
  • If you are requesting a replacement passport you will need to lodge in person. To book an appointment, go to our main passports page.
  • +
+ +

Guide for Adult renewal application by mail

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

                

+
+

  1. Complete your renewal application form online
+  

+ +
    +
  • The application must be lodged within six months of completion
  • +
+
+

                   

+
+

  2. Print and sign your application form
+  

+ +
    +
  • Print on plain white A4 paper, using black ink only. Make sure the top or bottom of the page is not cut off.
  • +
  • US standard letter paper or US legal paper sizes are also acceptable, but only if they’re scaled properly.
  • +
  • Sign the form using black pen, within the signature box. Make sure there are no alterations or whiteout on the signature or the date.
  • +
+ +

 

+
+

               

+
+

  3. Photos

+ +

 

+ +
    +
  • Two recent identical colour photos, less than 6 months old with your full name written on the back of one photo. Refer to photo guidelines for more information
  • +
  • Do NOT attach the photos to the form as this may damage them
  • +
  • Ensure ink from the endorsed photo does not transfer to the unendorsed photo
  • +
+ +

                                                                                   

+ +

 

+
+

               

+
+

  4. Payment
+  

+ + + + + +

 

+
+

                

+
+

  5. Check your adult renewal checklist
+  

+ + + +

 

+
+

              

+
+

  6. Post your application

+ +
    +
  • Post your application to the Embassy in Bangkok or Consulate-General in Phuket via the local postal system (registered post is recommended).
  • +
  • You CANNOT submit your application in person without an appointment.
  • +
  • Please DO NOT use delivery service such as Grab, LINE Man, Kerry, to submit your mailed-in application.  We accept mailed-in application that comes in the Post Office mail system only.
  • +
+ +


+   (Bangkok / Chiang Mai)

+ +

  Consular Services Section – Passport Services

+ +

  Australian Embassy Bangkok

+ +

  181 Soi Arun McKinnon

+ +

  Wireless Road, Lumphini, Pathumwan

+ +

  Bangkok 10330

+ +

 

+ +

  (Phuket)

+ +

  Consular Services Section – Passport Services

+ +

  Australian Consulate-General Phuket

+ +

  6th Floor, CCM Complex

+ +

  77/77 Chalermprakiat Rama 9 Road (Bypass Road)

+ +

  Phuket  83000  

+ +

 

+ +

  Have you included:

+ +
    +
  • Your printed and signed application form
  • +
  • Passport photos
  • +
  • A self-addressed A5 or A4 envelope (postage stamps not required)
  • +
  • Completed payment authorisation form
  • +
+ +

 

+
+

              

+
+

  7. How long will it take?
+  

+ +
    +
  • Please allow a minimum of six weeks to receive a new passport once payment has been taken. PLEASE NOTE incomplete applications will cause delays.
  • +
  • We will post your new passport out to you via registered post (in-person collection is NOT available for mailed in applications)
  • +
+ +

 

+
+ +
 
+ +
+

Questions?

+ +

If you still have questions, please contact us directly to discuss before sending your application.

+ +

 

+ +

Bangkok (including Chiang Mai)

+ +

Telephone: +66 (0) 2 344 6300, select Consular Services option

+ +

Email: [email protected]

+ +

 

+ +

Phuket

+ +

Telephone: +66 (0) 76 317 700

+ +

Email: [email protected]

+
+ + + + +
+ +
+ +
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file