Beispiel #1
0
    def search(self, major, course='', expand=True):
        str = PeopleSoft9.search(self, {'ICAction': 'CLASS_SRCH_WRK2_SSR_PB_CLASS_SRCH', 'CLASS_SRCH_WRK2_SUBJECT': major, 'CLASS_SRCH_WRK2_SSR_EXACT_MATCH1': 'C', 'CLASS_SRCH_WRK2_CATALOG_NBR$47$': course, 'CLASS_SRCH_WRK2_ACAD_CAREER': 'UGRD', 'CLASS_SRCH_WRK2_SSR_OPEN_ONLY$chk': 'N', 'CLASS_SRCH_WRK2_OEE_IND$chk': 'N', 'CLASS_SRCH_WRK2_MEETING_TIME_START': '', 'CLASS_SRCH_WRK2_MEETING_TIME_END': '', 'CLASS_SRCH_WRK2_INCLUDE_CLASS_DAYS': 'I', 'CLASS_SRCH_WRK2_MON$chk': '', 'CLASS_SRCH_WRK2_TUES$chk': '', 'CLASS_SRCH_WRK2_WED$chk': '', 'CLASS_SRCH_WRK2_THURS$chk': '', 'CLASS_SRCH_WRK2_FRI$chk': '', 'CLASS_SRCH_WRK2_SAT$chk': '', 'CLASS_SRCH_WRK2_SUN$chk': '', 'CLASS_SRCH_WRK2_SSR_EXACT_MATCH2': 'E', 'CLASS_SRCH_WRK2_LAST_NAME': '', 'CLASS_SRCH_WRK2_CLASS_NBR': '', 'CLASS_SRCH_WRK2_DESCR': '', 'CLASS_SRCH_WRK2_SSR_COMPONENT': '', 'CLASS_SRCH_WRK2_SESSION_CODE': '', 'CLASS_SRCH_WRK2_INSTRUCTION_MODE': '', 'CLASS_SRCH_WRK2_CAMPUS': '', 'CLASS_SRCH_WRK2_LOCATION': ''})

        if 'Your search will return over 50' in str:
            str = self.request({'ICAction': '#ICSave'})

        return str
Beispiel #2
0
    def search(self, major, course='', expand=True):
        str = PeopleSoft9.search(self, {
		'ICType': 'Panel',
		'ICElementNum': '0',
		'ICXPos': '0', 'IXYPos': '0',
		'ICAction': 'CLASS_SRCH_WRK2_SSR_PB_CLASS_SRCH$144$',
		'ICFocus': '',
		'ICSaveWarningFilter': '0',
		'ICChanged': '-1',
		'ICResubmit': '0',
                'ICModalWidget': '0',
                'ICZoomGrid': '0',
                'ICZoomGridRt': '0',
                'ICModalLongClosed': '0',
                'ICActionPrompt': 'false',
                'ICTypeAheadID': '',
                'ICFind': '',
                'ICAddCount': '',
		'UM_DERIVED_SA_UM_TERM_DESCR': self.term_id,
		'CLASS_SRCH_WRK2_SUBJECT$68$': major,
		'CLASS_SRCH_WRK2_SSR_EXACT_MATCH1': 'E',
		'CLASS_SRCH_WRK2_CATALOG_NBR$76$': '',
		'CLASS_SRCH_WRK2_ACAD_CAREER': '',
		'CLASS_SRCH_WRK2_SSR_OPEN_ONLY$chk': 'N',
		'CLASS_SRCH_WRK2_SESSION_CODE$126$': 'U1',
		'CLASS_SRCH_WRK2_CLASS_NBR$128$': '',
		'CLASS_SRCH_WRK2_INCLUDE_CLASS_DAYS': 'I',
		'CLASS_SRCH_WRK2_SSR_EXACT_MATCH2': 'E'
	})

        if expand:
            for id in self.regex_expand.findall(str):
                str = self.expand(id)

        return str
Beispiel #3
0
    def search(self, major, course='', expand=True):
        str = PeopleSoft9.search(
            self, {
                'ICAction': 'CLASS_SRCH_WRK2_SSR_PB_CLASS_SRCH',
                'CLASS_SRCH_WRK2_SUBJECT': major,
                'CLASS_SRCH_WRK2_SSR_EXACT_MATCH1': 'C',
                'CLASS_SRCH_WRK2_CATALOG_NBR$47$': course,
                'CLASS_SRCH_WRK2_ACAD_CAREER': 'UGRD',
                'CLASS_SRCH_WRK2_SSR_OPEN_ONLY$chk': 'N',
                'CLASS_SRCH_WRK2_OEE_IND$chk': 'N',
                'CLASS_SRCH_WRK2_MEETING_TIME_START': '',
                'CLASS_SRCH_WRK2_MEETING_TIME_END': '',
                'CLASS_SRCH_WRK2_INCLUDE_CLASS_DAYS': 'I',
                'CLASS_SRCH_WRK2_MON$chk': '',
                'CLASS_SRCH_WRK2_TUES$chk': '',
                'CLASS_SRCH_WRK2_WED$chk': '',
                'CLASS_SRCH_WRK2_THURS$chk': '',
                'CLASS_SRCH_WRK2_FRI$chk': '',
                'CLASS_SRCH_WRK2_SAT$chk': '',
                'CLASS_SRCH_WRK2_SUN$chk': '',
                'CLASS_SRCH_WRK2_SSR_EXACT_MATCH2': 'E',
                'CLASS_SRCH_WRK2_LAST_NAME': '',
                'CLASS_SRCH_WRK2_CLASS_NBR': '',
                'CLASS_SRCH_WRK2_DESCR': '',
                'CLASS_SRCH_WRK2_SSR_COMPONENT': '',
                'CLASS_SRCH_WRK2_SESSION_CODE': '',
                'CLASS_SRCH_WRK2_INSTRUCTION_MODE': '',
                'CLASS_SRCH_WRK2_CAMPUS': '',
                'CLASS_SRCH_WRK2_LOCATION': ''
            })

        if 'Your search will return over 50' in str:
            str = self.request({'ICAction': '#ICSave'})

        return str
Beispiel #4
0
    def search(self, major, course='', expand=True):
        str = PeopleSoft9.search(self, {'ICAction': 'CLASS_SRCH_WRK2_SSR_PB_CLASS_SRCH', 'CLASS_SRCH_WRK2_INSTITUTION$47$': 'UCONN', 'CLASS_SRCH_WRK2_STRM$50$': self.term_id, 'CLASS_SRCH_WRK2_SUBJECT$63$': major, 'CLASS_SRCH_WRK2_CATALOG_NBR$71$': '', 'CLASS_SRCH_WRK2_SSR_EXACT_MATCH1': 'E', 'CLASS_SRCH_WRK2_CAMPUS': 'STORR', 'CLASS_SRCH_WRK2_ACAD_CAREER': '', 'CLASS_SRCH_WRK2_SSR_OPEN_ONLY$chk': 'N', 'CLASS_SRCH_WRK2_OEE_IND$75$$chk': 'N', 'CLASS_SRCH_WRK2_MEETING_TIME_START': '', 'CLASS_SRCH_WRK2_MEETING_TIME_END': '', 'CLASS_SRCH_WRK2_INCLUDE_CLASS_DAYS': 'I', 'CLASS_SRCH_WRK2_MON$chk': '', 'CLASS_SRCH_WRK2_TUES$chk': '', 'CLASS_SRCH_WRK2_WED$chk': '', 'CLASS_SRCH_WRK2_THURS$chk': '', 'CLASS_SRCH_WRK2_FRI$chk': '', 'CLASS_SRCH_WRK2_SAT$chk': '', 'CLASS_SRCH_WRK2_SUN$chk': '', 'CLASS_SRCH_WRK2_SSR_EXACT_MATCH2': 'E', 'CLASS_SRCH_WRK2_LAST_NAME': '', 'CLASS_SRCH_WRK2_CLASS_NBR$110$': '', 'CLASS_SRCH_WRK2_DESCR': '', 'CLASS_SRCH_WRK2_UNITS_MINIMUM': '', 'CLASS_SRCH_WRK2_UNITS_MAXIMUM': '', 'CLASS_SRCH_WRK2_SSR_COMPONENT': '', 'CLASS_SRCH_WRK2_SESSION_CODE$122$': '', 'CLASS_SRCH_WRK2_INSTRUCTION_MODE': '', 'CLASS_SRCH_WRK2_LOCATION': ''})

        if 'Your search will return over 50' in str:
            str = self.request({'ICAction': '#ICSave'})

        if self.expand:
            for id in self.regex_expand.findall(str):
                str = self.expand(id)

        return str
Beispiel #5
0
    def search(self, major, course='', expand=True):
        str = PeopleSoft9.search(
            self, {
                'ICAction': 'CLASS_SRCH_WRK2_SSR_PB_CLASS_SRCH',
                'CLASS_SRCH_WRK2_INSTITUTION$47$': 'UCONN',
                'CLASS_SRCH_WRK2_STRM$50$': self.term_id,
                'CLASS_SRCH_WRK2_SUBJECT$63$': major,
                'CLASS_SRCH_WRK2_CATALOG_NBR$71$': '',
                'CLASS_SRCH_WRK2_SSR_EXACT_MATCH1': 'E',
                'CLASS_SRCH_WRK2_CAMPUS': 'STORR',
                'CLASS_SRCH_WRK2_ACAD_CAREER': '',
                'CLASS_SRCH_WRK2_SSR_OPEN_ONLY$chk': 'N',
                'CLASS_SRCH_WRK2_OEE_IND$75$$chk': 'N',
                'CLASS_SRCH_WRK2_MEETING_TIME_START': '',
                'CLASS_SRCH_WRK2_MEETING_TIME_END': '',
                'CLASS_SRCH_WRK2_INCLUDE_CLASS_DAYS': 'I',
                'CLASS_SRCH_WRK2_MON$chk': '',
                'CLASS_SRCH_WRK2_TUES$chk': '',
                'CLASS_SRCH_WRK2_WED$chk': '',
                'CLASS_SRCH_WRK2_THURS$chk': '',
                'CLASS_SRCH_WRK2_FRI$chk': '',
                'CLASS_SRCH_WRK2_SAT$chk': '',
                'CLASS_SRCH_WRK2_SUN$chk': '',
                'CLASS_SRCH_WRK2_SSR_EXACT_MATCH2': 'E',
                'CLASS_SRCH_WRK2_LAST_NAME': '',
                'CLASS_SRCH_WRK2_CLASS_NBR$110$': '',
                'CLASS_SRCH_WRK2_DESCR': '',
                'CLASS_SRCH_WRK2_UNITS_MINIMUM': '',
                'CLASS_SRCH_WRK2_UNITS_MAXIMUM': '',
                'CLASS_SRCH_WRK2_SSR_COMPONENT': '',
                'CLASS_SRCH_WRK2_SESSION_CODE$122$': '',
                'CLASS_SRCH_WRK2_INSTRUCTION_MODE': '',
                'CLASS_SRCH_WRK2_LOCATION': ''
            })

        if 'Your search will return over 50' in str:
            str = self.request({'ICAction': '#ICSave'})

        if self.expand:
            for id in self.regex_expand.findall(str):
                str = self.expand(id)

        return str
Beispiel #6
0
 def search(self, major, course=''):
     return PeopleSoft9.search(
         self, {
             'ICAction': 'CLASS_SRCH_WRK2_SSR_PB_CLASS_SRCH',
             'CLASS_SRCH_WRK2_INSTITUTION$46$': 'NWUNV',
             'CLASS_SRCH_WRK2_STRM$49$': self.term_id,
             'CLASS_SRCH_WRK2_SUBJECT$62$': major,
             'CLASS_SRCH_WRK2_CATALOG_NBR$70$': course,
             'CLASS_SRCH_WRK2_SSR_EXACT_MATCH1': 'E',
             'CLASS_SRCH_WRK2_ACAD_CAREER': '',
             'CLASS_SRCH_WRK2_SSR_OPEN_ONLY$chk': 'N',
             'NW_DERIVED_SS2_CRSE_ATTR': '',
             'NW_DERIVED_SS2_CRSE_ATTR_VALUE': '',
             'CLASS_SRCH_WRK2_MEETING_TIME_START': '',
             'CLASS_SRCH_WRK2_MEETING_TIME_END': '',
             'CLASS_SRCH_WRK2_INCLUDE_CLASS_DAYS': 'J',
             'CLASS_SRCH_WRK2_MON%$chk': 'Y',
             'CLASS_SRCH_WRK2_MON': 'Y',
             'CLASS_SRCH_WRK2_TUES$chk': 'Y',
             'CLASS_SRCH_WRK2_TUES': 'Y',
             'CLASS_SRCH_WRK2_WED$chk': 'Y',
             'CLASS_SRCH_WRK2_WED': 'Y',
             'CLASS_SRCH_WRK2_THURS$chk': 'Y',
             'CLASS_SRCH_WRK2_THURS': 'Y',
             'CLASS_SRCH_WRK2_FRI$chk': 'Y',
             'CLASS_SRCH_WRK2_FRI': 'Y',
             'CLASS_SRCH_WRK2_SAT$chk': 'Y',
             'CLASS_SRCH_WRK2_SAT': 'Y',
             'CLASS_SRCH_WRK2_SUN$chk': 'Y',
             'CLASS_SRCH_WRK2_SUN': 'Y',
             'CLASS_SRCH_WRK2_SSR_EXACT_MATCH2': 'E',
             'CLASS_SRCH_WRK2_LAST_NAME': '',
             'CLASS_SRCH_WRK2_CLASS_NBR$111$': '',
             'CLASS_SRCH_WRK2_DESCR': '',
             'CLASS_SRCH_WRK2_SSR_COMPONENT': '',
             'CLASS_SRCH_WRK2_SESSION_CODE$123$': '',
             'CLASS_SRCH_WRK2_CAMPUS': '',
             'CLASS_SRCH_WRK2_LOCATION': ''
         })
Beispiel #7
0
    def search(self, major, course='', expand=True):
        str = PeopleSoft9.search(
            self, {
                'ICType': 'Panel',
                'ICElementNum': '0',
                'ICXPos': '0',
                'IXYPos': '0',
                'ICAction': 'CLASS_SRCH_WRK2_SSR_PB_CLASS_SRCH$144$',
                'ICFocus': '',
                'ICSaveWarningFilter': '0',
                'ICChanged': '-1',
                'ICResubmit': '0',
                'ICModalWidget': '0',
                'ICZoomGrid': '0',
                'ICZoomGridRt': '0',
                'ICModalLongClosed': '0',
                'ICActionPrompt': 'false',
                'ICTypeAheadID': '',
                'ICFind': '',
                'ICAddCount': '',
                'UM_DERIVED_SA_UM_TERM_DESCR': self.term_id,
                'CLASS_SRCH_WRK2_SUBJECT$68$': major,
                'CLASS_SRCH_WRK2_SSR_EXACT_MATCH1': 'E',
                'CLASS_SRCH_WRK2_CATALOG_NBR$76$': '',
                'CLASS_SRCH_WRK2_ACAD_CAREER': '',
                'CLASS_SRCH_WRK2_SSR_OPEN_ONLY$chk': 'N',
                'CLASS_SRCH_WRK2_SESSION_CODE$126$': 'U1',
                'CLASS_SRCH_WRK2_CLASS_NBR$128$': '',
                'CLASS_SRCH_WRK2_INCLUDE_CLASS_DAYS': 'I',
                'CLASS_SRCH_WRK2_SSR_EXACT_MATCH2': 'E'
            })

        if expand:
            for id in self.regex_expand.findall(str):
                str = self.expand(id)

        return str
Beispiel #8
0
 def search(self, major, course=''):
     return PeopleSoft9.search(self, {'ICAction': 'CLASS_SRCH_WRK2_SSR_PB_CLASS_SRCH', 'CLASS_SRCH_WRK2_INSTITUTION$46$': 'NWUNV', 'CLASS_SRCH_WRK2_STRM$49$': self.term_id, 'CLASS_SRCH_WRK2_SUBJECT$62$': major, 'CLASS_SRCH_WRK2_CATALOG_NBR$70$': course, 'CLASS_SRCH_WRK2_SSR_EXACT_MATCH1': 'E', 'CLASS_SRCH_WRK2_ACAD_CAREER': '', 'CLASS_SRCH_WRK2_SSR_OPEN_ONLY$chk': 'N', 'NW_DERIVED_SS2_CRSE_ATTR': '', 'NW_DERIVED_SS2_CRSE_ATTR_VALUE': '', 'CLASS_SRCH_WRK2_MEETING_TIME_START': '', 'CLASS_SRCH_WRK2_MEETING_TIME_END': '', 'CLASS_SRCH_WRK2_INCLUDE_CLASS_DAYS': 'J', 'CLASS_SRCH_WRK2_MON%$chk': 'Y', 'CLASS_SRCH_WRK2_MON': 'Y', 'CLASS_SRCH_WRK2_TUES$chk': 'Y', 'CLASS_SRCH_WRK2_TUES': 'Y', 'CLASS_SRCH_WRK2_WED$chk': 'Y', 'CLASS_SRCH_WRK2_WED': 'Y', 'CLASS_SRCH_WRK2_THURS$chk': 'Y', 'CLASS_SRCH_WRK2_THURS': 'Y', 'CLASS_SRCH_WRK2_FRI$chk': 'Y', 'CLASS_SRCH_WRK2_FRI': 'Y', 'CLASS_SRCH_WRK2_SAT$chk': 'Y', 'CLASS_SRCH_WRK2_SAT': 'Y', 'CLASS_SRCH_WRK2_SUN$chk': 'Y', 'CLASS_SRCH_WRK2_SUN': 'Y', 'CLASS_SRCH_WRK2_SSR_EXACT_MATCH2': 'E', 'CLASS_SRCH_WRK2_LAST_NAME': '', 'CLASS_SRCH_WRK2_CLASS_NBR$111$': '', 'CLASS_SRCH_WRK2_DESCR': '', 'CLASS_SRCH_WRK2_SSR_COMPONENT': '', 'CLASS_SRCH_WRK2_SESSION_CODE$123$': '', 'CLASS_SRCH_WRK2_CAMPUS': '', 'CLASS_SRCH_WRK2_LOCATION': ''})