Skip to content

Instantly share code, notes, and snippets.

@vural
vural / megep.json
Last active Mar 13, 2018
megep.json
View megep.json
This file has been truncated, but you can view the full file.
@vural
vural / megep2.md
Last active Mar 13, 2018
Megep Dökümanları - 2. Liste
View megep2.md
@vural
vural / megep.md
Last active Oct 3, 2020
Megep Dökümanları - 1. Liste
View megep.py
import requests
from bs4 import BeautifulSoup
class Parser(object):
__slots__ = ('_view_state', '_view_state_generator')
def __init__(self):
main_page_resp = requests.get('http://megep.meb.gov.tr/?page=moduller').text
soup = BeautifulSoup(main_page_resp, 'html.parser')