Maybe this:
#! /usr/bin/env python3 import requests from bs4 import BeautifulSoup as bs page = requests.get('https://www.fundera.com/blog/business-finance-terms-and-definitions') soup = bs(page.text, 'lxml') # Can be a list of tags # tags = ['h1', 'h2', 'h3'] # for tags in soup.find_all(tags): for tags in soup.find_all('h3'): print(tags.text.strip())
Output:1. Accounts Payable
2. Accounts Receivable
3. Accrual Basis
4. Accruals
5. Asset
6. Balance Sheet
7. Bookkeeping
8. Capital
9. Working Capital
10. Cash Flow
11. Cash Flow Projections
12. Depreciation
13. Fixed Asset
14. Gross Profit
15. Income Statement
16. Intangible Asset
17. Liability
18. Liquidity
19. Profit & Loss Statement
20. Statement of Cash Flow
21. Statement of Shareholdersâ Equity
22. Annual Percentage Rate
23. Appraisal
24. Balloon Loan
25. Bankruptcy
26. Bootstrapping
27. Business Credit Report
28. Business Credit Score
29. Collateral
30. Credit Limit
31. Debt Consolidation
32. Debt Service Coverage Ratio
33. Debt Financing
34. Equity Financing
35. FICO Score
36. Financial Statements
37. Fixed Interest Rate
38. Floating Interest Rate
39. Guarantor
40. Interest Rate
41. Invoice Factoring or Financing
42. Lien
43. Line of Credit
44. Loan-to-Value
45. Long-Term Debt
46. Merchant Cash Advance
47. Microloan
48. Personal Guarantee
49. Principal
50. Revolving Line of Credit
51. Secured Loan
52. Term Loan
53. Unsecured Loans
54. Articles of Incorporation
55. Business Plan
56. Employer Identification Number (EIN) Certificate
57. Franchise Agreement
58. Net Worth
59. Retained Earnings
60. Tax Lien
Meredith Wood
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags