In my opinion, aspiring pilots (American and foreign) need to put the term "pilot shortage" in perspective.
Getting a job in an American major is still very competitive.
As far as I'm concerned, the first clue that a "shortage" truly exists is when all the majors drop their application fees.
By the way, is American Airlines still charging $100 to apply?
Lower down the food chain (e.g. regional, air taxi and flight schools) there is indeed a shortage.
But again, it's still very competitive at the majors and I seriously doubt they have any problem filling their seats.
Good luck, fly safe