2022-11-13 10:39:28 -08:00

14 lines
290 B
Python

#!/usr/bin/env python3
import sys
import requests
from bs4 import BeautifulSoup
# Return the paragraphs from a Wikipedia link, stripped of reference numbers.
# Especially useful for text-to-speech (both native and foreign).
# Get URL from the command line.
url = sys.argv[1]
print(url)