You cannot catch Weezing in Pokémon Ranger: Shadows of Almia.
Shadows of Almia is a Nintendo DS spin-off set in the Almia region. Its Pokédex (the "Almia Browser") consists of Pokémon available in Generation IV (Sinnoh) and earlier, but Weezing—a Generation I Kanto Pokémon—does not appear in the Browser and cannot be encountered, captured, or obtained in the game through any legitimate means.
If you need a Weezing for your Gen IV team (Diamond, Pearl, Platinum, HeartGold, SoulSilver), here are the legitimate methods:
Since the DS/3DS eShop and Nintendo Wi-Fi Connection services have shut down, legitimate migration now requires original hardware (DS/DS Lite with GBA slot, two systems for trading) or modern homebrew solutions.