MCPcopy Create free account

hub / github.com/Trinkle23897/tuixue.online-visa / functions

Functions364 in github.com/Trinkle23897/tuixue.online-visa

↓ 175 callersMethodget
(self)
visa2/captcha.py:27
↓ 55 callersMethodappend
(self, key, value=None)
backend/url.py:102
↓ 22 callersMethoditems
URLSearchParam.entries in a pythonic way ;-)
backend/url.py:60
↓ 16 callersMethodget_embassy_lst
Return the list of USEmbassy objects.
backend/global_var.py:211
↓ 13 callersMethodget
URLSearchParam.get. If the value is a list, first element of the list will be returned. If the key does not exist, return None
backend/url.py:71
↓ 10 callersFunctionpostprocess
(raw)
visa2/visa.py:21
↓ 10 callersMethodset_session_pool_size
(self, visa_type, place, size)
visa2/lite_visa.py:113
↓ 8 callersMethodwrong
(self)
visa2/vcode.py:94
↓ 7 callersMethodcheck_crawler_server_connection
Check the connection of all the crawler server. Update the current crawler server in use.
backend/visa_status_fetcher.py:195
↓ 7 callersMethodkeys
URLSearchParam.keys in a pythonic way ;-)
backend/url.py:47
↓ 7 callersMethodsend_email
Send email to receviers.
backend/notifier.py:215
↓ 6 callersFunctioncheck_crawler_node
()
global/crawler/lite_visa.py:468
↓ 6 callersFunctiongetDateFromISOString
frontend/src/utils/misc.js:23
↓ 6 callersMethodset
URLSearchParam.set
backend/url.py:64
↓ 6 callersFunctionsetCookie
(name, value)
frontend/src/utils/cookie.js:3
↓ 6 callersFunctionset_interval
(func, visa_type, places, interval, rand, first_run=True)
visa2/lite_visa.py:236
↓ 6 callersFunctionset_interval
(func, visa_type, places, interval, rand, first_run=True)
visa2/fast_visa.py:128
↓ 5 callersMethodconnect
(self)
backend/api_websocket.py:94
↓ 5 callersFunctionconstructURL
({ path, query = null, protocol = "https" })
frontend/src/services/TuixueAPI.js:24
↓ 5 callersMethoddrop
THSI METHOD SHOULD BE USED WITH CAUTION (OR DELETED) IN PRODUCTION.
backend/tuixue_mongodb.py:472
↓ 5 callersFunctionget
($dir)
visa2/index.php:35
↓ 5 callersFunctiongetCookie
(name, defaultValue)
frontend/src/utils/cookie.js:7
↓ 5 callersFunctionmerge
(fn, s, cur)
visa2/visa.py:32
↓ 5 callersFunctionnp2str
(r)
visa2/captcha.py:83
↓ 5 callersFunctionuseScreenXS
()
frontend/src/hooks/useScreenXS.js:6
↓ 5 callersFunctionzip
(...sequences)
frontend/src/utils/misc.js:66
↓ 4 callersFunctioncheck_crawler_node
()
visa2/lite_visa.py:350
↓ 4 callersMethodcopy
Return a copy of the URL object
backend/url.py:172
↓ 4 callersFunctiondt_to_utc
Convert datetime to utc timestamp, for write_time.
backend/util.py:53
↓ 4 callersFunctionfetchVisaStatusDetail
frontend/src/redux/visastatusDetailSlice.js:29
↓ 4 callersFunctionfetchVisaStatusOverview
frontend/src/redux/visastatusOverviewSlice.js:30
↓ 4 callersFunctionget_collection
Return a MongoDB collection from the established client database.
backend/tuixue_mongodb.py:45
↓ 4 callersFunctionget_table
($type, $jsfn, $loc)
visa/index.php:42
↓ 4 callersFunctionmakeSelectorMakerByVisaType
frontend/src/redux/selectors.js:59
↓ 4 callersFunctionmin_date
(a, b)
visa2/notify.py:23
↓ 4 callersFunctionrenameObjectKeys
frontend/src/utils/misc.js:6
↓ 4 callersMethodreplace_session
(self, visa_type, place, sess)
visa2/lite_visa.py:86
↓ 4 callersMethodreplace_session
Replace session immediately with a new session object provided. Every time the sesssion is update, write to the file.
backend/session_operation.py:166
↓ 4 callersFunctionupdateFilterAndFetch
(visaType, newFilter)
frontend/src/redux/visastatusFilterSlice.js:20
↓ 4 callersMethodvalues
URLSearchParam.forEach in a pythonic way ;-)
backend/url.py:51
↓ 4 callersFunctionwait_loading
(xpath, option="locate")
api/tuixue/ais_reg.py:62
↓ 3 callersMethodfind_latest_written_visa_status
Find the latest written visa status of a given visa_type and embassy_code
backend/tuixue_mongodb.py:729
↓ 3 callersFunctiongetTimeFromUTC
frontend/src/utils/misc.js:30
↓ 3 callersMethodget_embassy_by_code
Return an USEbassy object by the code property.
backend/global_var.py:221
↓ 3 callersMethodget_embassy_by_loc
Return an USEbassy object by the location property.
backend/global_var.py:216
↓ 3 callersMethodget_session
Return the cached session object by visa_type and location.
backend/session_operation.py:150
↓ 3 callersMethodget_subscriptions_by_email
Get all subscription of a given email
backend/tuixue_mongodb.py:934
↓ 3 callersFunctionmakeDateChartData
(visaType, embassyCode)
frontend/src/redux/selectors.js:128
↓ 3 callersFunctionmin_date
(a, b)
global/crawler/notify.py:71
↓ 3 callersMethodsave
Write the current session into disk.
backend/session_operation.py:135
↓ 3 callersMethodsave_fetched_data
Write the visa status to the end of the file.
backend/visa_status_fetcher.py:146
↓ 3 callersFunctionsend
(api, title, content, receivers, sendfrom='dean@tuixue.online', sendto='pending@tuixue.online')
visa2/notify.py:38
↓ 3 callersFunctionsend
(api, title, content, receivers, sendfrom='dean@tuixue.online', sendto='pending@tuixue.online')
global/crawler/notify.py:86
↓ 3 callersFunctionset_interval
(func, visa_type, places, interval, rand, first_run=True, codes=None)
global/crawler/lite_visa.py:286
↓ 3 callersMethodsign
(self, pd_id, passwd, timestamp)
visa2/vcode.py:17
↓ 3 callersMethodsolve
(self, img_data, pred_type='20500')
visa2/vcode.py:27
↓ 2 callersMethodadd
(self, x)
visa2/captcha.py:21
↓ 2 callersFunctiondateDiff
(start, end)
frontend/src/utils/misc.js:35
↓ 2 callersMethodfetch_visa_status
Fetch the latest visa status available from crawler server.
backend/visa_status_fetcher.py:254
↓ 2 callersFunctionfilterSelector
frontend/src/redux/selectors.js:10
↓ 2 callersFunctionfindEmbassyAttributeByCode
(attr, code, embassyLst)
frontend/src/utils/USEmbassy.js:22
↓ 2 callersMethodfind_visa_status_past24h
Return historical data of a given `visa_type`-`embassy_cde` pair for the past 24 hours
backend/tuixue_mongodb.py:757
↓ 2 callersFunctiongetAvg
frontend/src/redux/selectors.js:146
↓ 2 callersFunctiongetNewestVisaStatus
frontend/src/hooks/useWebSocketSubscribe.js:67
↓ 2 callersFunctionget_date
(page)
visa2/fast_visa.py:246
↓ 2 callersMethodget_session
(self, visa_type, place)
visa2/lite_visa.py:91
↓ 2 callersMethodget_session
(self, visa_type, place)
global/crawler/lite_visa.py:132
↓ 2 callersFunctionhttpdate
Return a string representation of a date according to RFC 1123 (HTTP/1.1). The supplied date must be in UTC.
backend/util.py:75
↓ 2 callersMethodinit_cache
(self)
visa2/lite_visa.py:75
↓ 2 callersFunctioninit_logger
Initiate a logger.
backend/util.py:14
↓ 2 callersFunctioninspect
(img_data)
visa2/vcode2.py:256
↓ 2 callersFunctioninspect
(img_data)
api/tuixue/vcode2.py:252
↓ 2 callersFunctionload_config
()
api/tuixue/config.py:5
↓ 2 callersFunctionlogin
(driver, cracker, uri, info='')
visa2/visa.py:46
↓ 2 callersFunctionmakeCountryCodeSelector
frontend/src/redux/selectors.js:20
↓ 2 callersFunctionmakeEmbassyBySysSelector
frontend/src/redux/selectors.js:23
↓ 2 callersMethodmark_unavailable
( self, visa_type: str, location: str, cd: timedelta = timedelta(hours=G.CD_HOURS) )
backend/session_operation.py:216
↓ 2 callersFunctionmerge
(fn, s, cur, visa_type)
global/crawler/lite_visa.py:190
↓ 2 callersFunctionmomentToISOString
frontend/src/utils/misc.js:46
↓ 2 callersFunctionnotifDateStr
frontend/src/hooks/useWebSocketSubscribe.js:22
↓ 2 callersFunctionpreprocess
(fn)
visa2/captcha.py:91
↓ 2 callersMethodreplace_session
(self, visa_type, place, sess)
global/crawler/lite_visa.py:104
↓ 2 callersMethodsave_placeholder_at_exception
When fetching visa status encounters failure like `Session Expired` and `Endpoint Timeout` save the last successful fetch result into dat
backend/visa_status_fetcher.py:235
↓ 2 callersFunctionset_fetching_interval
Execute the fetching function every `interval` seconds https://stackoverflow.com/questions/2697039/python-equivalent-of-setinterval
backend/visa_status_fetcher.py:75
↓ 2 callersMethodset_session_pool_size
(self, visa_type, place, size, ais=False)
global/crawler/lite_visa.py:154
↓ 2 callersFunctiontest
(args)
visa2/notify.py:148
↓ 1 callersMethod__repr__
(self)
backend/session_operation.py:47
↓ 1 callersMethod_valid
(self, code)
visa2/vcode.py:112
↓ 1 callersMethodadd_email_subscription
Add one or more email subscription, create the subscriber document if one doesn't exist. And overwrite previous subscription record if th
backend/tuixue_mongodb.py:1014
↓ 1 callersFunctionb_visa
(driver, driver2)
visa2/visa.py:159
↓ 1 callersFunctionbinarization
()
visa2/vcode2.py:177
↓ 1 callersFunctionbinarization
()
api/tuixue/vcode2.py:176
↓ 1 callersFunctionbold
()
visa2/vcode2.py:240
↓ 1 callersFunctionbold
()
api/tuixue/vcode2.py:236
↓ 1 callersFunctionchangeTabAndSetCookie
frontend/src/redux/visastatusTabSlice.js:18
↓ 1 callersFunctionchange_crawler_server
Manuanly check and update crawler server every 10 mintues.
backend/visa_status_fetcher.py:136
↓ 1 callersFunctionchange_region
(country_code, session, group_id)
api/tuixue/ais_reg.py:134
↓ 1 callersFunctioncheck
(left)
visa2/vcode2.py:273
↓ 1 callersFunctioncheck
($a, $b)
visa2/view/index.php:46
↓ 1 callersFunctioncheck
(left)
api/tuixue/vcode2.py:269
next →1–100 of 364, ranked by callers