Skip to content
Advertisement

Cannot Scrape All Links in Webpage Python BeautifulSoup

I am trying to use beautifulsoup to get the links off of this webpage: https://nfdc.faa.gov/nfdcApps/services/ajv5/fixes.jsp

I need the links to all of the fixes in Arizona (AZ), so I search for AZ, and when I start by hitting ‘A’ under ‘View fixes in alphabetical order:’, I am not able to scrape the links that are shown by hoving over each fix (i.e ‘AALAN’) when I use beautifulsoup in python. How can I do this? Here is my code:

JavaScript

And this is what it outputs:

JavaScript

The links to the fixes are not there (i.e https://nfdc.faa.gov/nfdcApps/services/ajv5/fix_detail.jsp?fix=1948394&list=yes is not in the list)

I am looking to compile a list of all the fix links for Arizona so I can aquire the data. Thanks!

Advertisement

Answer

Try:

JavaScript

Prints:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement