Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
scraper
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
import importlib.util import re spec = importlib.util.spec_from_file_location("fev", r"scraper\fetch_examveda.py") mod = importlib.util.module_from_spec(spec) spec.loader.exec_module(mod) html = open( r"https___www_examveda_com_competitive_english_practice_mcq_question_on_verbal_analogies_.html", encoding="utf-8", ).read() arts = mod.split_articles(html) a = arts[0] s = a.find("question-options") print(repr(a[s : s + 1200]))