Я написал код на Python для того, чтобы заняться некоторыми интересными вопросами в профиле Твиттера в каком-то блоге и взять содержимое ссылки.
import tweepy
import scrap
import time
import auth.auth as auth
import post
api = auth.logon()
def store_last_id(tweet_id):
with open("lastid", "w") as fp:
fp.write(str(tweet_id))
def get_last_id():
with open("lastid", "r") as fp:
return fp.read()
try:
last_id = get_last_id()
except FileNotFoundError:
print("Começando o dia? Vamos lá.")
last_id = None
def catchLink(tweet):
text = str(tweet)
index = text.find('http')
if index == -1:
return None
link = text[index:]
return link
def search(word):
for tweet in tweepy.Cursor(api.search, q=word, since_id=last_id).items():
try:
if tweet.user.name == word:
store_last_id(tweet.id)
link = catchLink(tweet.text)
if link == None:
continue
else:
title, text = scrap.scrapping(link)
post = post.post(title, text)
print("The post link is: " + post)
time.sleep(60)
except Exception as e:
print(e)
search("Twitter_Blog_Account")
Я использую Tweepy для поиска твитов и получения ссылкии отправка в другую функцию, которая использует Beautiful Soup, чтобы получить то, что важно для меня.
Ну, я запустил его вчера без проблем.Но потом он перестал работать, без какого-либо ответа, и я не уверен, связано ли это с ограничениями Twitter.
Сказал, что сегодня он еще не запущен, и я использовал параметр "-m CProfile", поэтому ямог бы попытаться проверить это, но я еще не уверен, что происходит.
PS C:\Users\Felipe\Documents\Python\scrap> python -m cProfile .\check.py
396766 function calls (385553 primitive calls) in 5.150 seconds
Ordered by: standard name
ncalls tottime percall cumtime percall filename:lineno(function)
802/603 0.001 0.000 0.245 0.000 <frozen importlib._bootstrap>:1009(_handle_fromlist)
371 0.002 0.000 0.002 0.000 <frozen importlib._bootstrap>:103(release)
326 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:143(__init__)
326 0.001 0.000 0.008 0.000 <frozen importlib._bootstrap>:147(__enter__)
326 0.000 0.000 0.002 0.000 <frozen importlib._bootstrap>:151(__exit__)
371 0.002 0.000 0.006 0.000 <frozen importlib._bootstrap>:157(_get_module_lock)
324 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap>:176(cb)
45 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap>:194(_lock_unlock_module)
340/4 0.000 0.000 0.468 0.117 <frozen importlib._bootstrap>:211(_call_with_frames_removed)
3968 0.002 0.000 0.002 0.000 <frozen importlib._bootstrap>:222(_verbose_message)
15 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:232(_requires_builtin_wrapper)
269 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:307(__init__)
269 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:311(__enter__)
269 0.001 0.000 0.002 0.000 <frozen importlib._bootstrap>:318(__exit__)
1070 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:321(<genexpr>)
246 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:35(_new_module)
326 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap>:369(__init__)
500 0.001 0.000 0.006 0.000 <frozen importlib._bootstrap>:403(cached)
658 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap>:416(parent)
269 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:424(has_location)
22 0.000 0.000 0.017 0.001 <frozen importlib._bootstrap>:433(spec_from_loader)
269 0.002 0.000 0.010 0.000 <frozen importlib._bootstrap>:504(_init_module_attrs)
269 0.001 0.000 0.025 0.000 <frozen importlib._bootstrap>:576(module_from_spec)
324 0.001 0.000 0.003 0.000 <frozen importlib._bootstrap>:58(__init__)
7 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:634(_load_backward_compatible)
276/4 0.003 0.000 0.469 0.117 <frozen importlib._bootstrap>:663(_load_unlocked)
319 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap>:719(find_spec)
15 0.000 0.000 0.001 0.000 <frozen importlib._bootstrap>:740(create_module)
15 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:748(exec_module)
15 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:765(is_package)
371 0.002 0.000 0.002 0.000 <frozen importlib._bootstrap>:78(acquire)
304 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:792(find_spec)
1024 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap>:855(__enter__)
1024 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap>:859(__exit__)
97 0.000 0.000 0.017 0.000 <frozen importlib._bootstrap>:873(_find_spec_legacy)
319/309 0.005 0.000 0.166 0.001 <frozen importlib._bootstrap>:882(_find_spec)
326/19 0.002 0.000 0.514 0.027 <frozen importlib._bootstrap>:948(_find_and_load_unlocked)
326/19 0.004 0.000 0.516 0.027 <frozen importlib._bootstrap>:978(_find_and_load)
8 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1029(__init__)
8 0.000 0.000 0.013 0.002 <frozen importlib._bootstrap_external>:1040(create_module)
8 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1048(exec_module)
30 0.003 0.000 0.006 0.000 <frozen importlib._bootstrap_external>:1190(_path_hooks)
865 0.001 0.000 0.007 0.000 <frozen importlib._bootstrap_external>:1203(_path_importer_cache)
304 0.004 0.000 0.144 0.000 <frozen importlib._bootstrap_external>:1240(_get_spec)
304 0.000 0.000 0.144 0.000 <frozen importlib._bootstrap_external>:1272(find_spec)
30 0.001 0.000 0.002 0.000 <frozen importlib._bootstrap_external>:1319(__init__)
240 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1325(<genexpr>)
254 0.001 0.000 0.003 0.000 <frozen importlib._bootstrap_external>:1351(_get_spec)
760 0.015 0.000 0.132 0.000 <frozen importlib._bootstrap_external>:1356(find_spec)
30 0.001 0.000 0.004 0.000 <frozen importlib._bootstrap_external>:1404(_fill_cache)
30 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:1433(<setcomp>)
30 0.000 0.000 0.004 0.000 <frozen importlib._bootstrap_external>:1445(path_hook_for_FileFinder)
492 0.002 0.000 0.007 0.000 <frozen importlib._bootstrap_external>:271(cache_from_source)
760 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:36(_relax_case)
254 0.001 0.000 0.005 0.000 <frozen importlib._bootstrap_external>:369(_get_cached)
246 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:401(_check_name_wrapper)
246 0.001 0.000 0.002 0.000 <frozen importlib._bootstrap_external>:438(_classify_pyc)
246 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:471(_validate_timestamp_pyc)
738 0.001 0.000 0.001 0.000 <frozen importlib._bootstrap_external>:51(_r_long)
246 0.001 0.000 0.030 0.000 <frozen importlib._bootstrap_external>:523(_compile_bytecode)
3806 0.006 0.000 0.016 0.000 <frozen importlib._bootstrap_external>:56(_path_join)
254 0.001 0.000 0.002 0.000 <frozen importlib._bootstrap_external>:574(spec_from_file_location)
3806 0.006 0.000 0.008 0.000 <frozen importlib._bootstrap_external>:58(<listcomp>)
492 0.002 0.000 0.002 0.000 <frozen importlib._bootstrap_external>:62(_path_split)
246 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:719(create_module)
246/4 0.001 0.000 0.468 0.117 <frozen importlib._bootstrap_external>:722(exec_module)
1350 0.002 0.000 0.109 0.000 <frozen importlib._bootstrap_external>:74(_path_stat)
246 0.004 0.000 0.099 0.000 <frozen importlib._bootstrap_external>:793(get_code)
344 0.001 0.000 0.030 0.000 <frozen importlib._bootstrap_external>:84(_path_is_mode_type)
246 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:884(__init__)
246 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap_external>:909(get_filename)
246 0.024 0.000 0.041 0.000 <frozen importlib._bootstrap_external>:914(get_data)
314 0.000 0.000 0.029 0.000 <frozen importlib._bootstrap_external>:93(_path_isfile)
246 0.001 0.000 0.016 0.000 <frozen importlib._bootstrap_external>:951(path_stats)
30 0.000 0.000 0.002 0.000 <frozen importlib._bootstrap_external>:98(_path_isdir)
1 0.000 0.000 0.000 0.000 <string>:1(<module>)
1 0.000 0.000 0.000 0.000 <string>:1(__new__)
1 0.000 0.000 0.000 0.000 __future__.py:48(<module>)
1 0.000 0.000 0.000 0.000 __future__.py:80(_Feature)
10 0.000 0.000 0.000 0.000 __future__.py:81(__init__)
11 0.000 0.000 0.104 0.009 __init__.py:1(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:10(<module>)
1 0.000 0.000 0.000 0.000 __init__.py:1070(FileHandler)
1 0.000 0.000 0.000 0.000 element.py:139(Formatter)
1 0.000 0.000 0.000 0.000 element.py:1394(SoupStrainer)
1 0.000 0.000 0.000 0.000 element.py:149(HTMLFormatter)
1 0.000 0.000 0.000 0.000 element.py:154(MinimalHTMLFormatter)
1 0.000 0.000 0.000 0.000 element.py:159(HTML5Formatter)
1 0.000 0.000 0.000 0.000 element.py:1611(ResultSet)
1 0.000 0.000 0.000 0.000 element.py:163(XMLFormatter)
1 0.000 0.000 0.000 0.000 element.py:168(HTMLXMLFormatter)
1 0.000 0.000 0.000 0.000 element.py:174(PageElement)
1 0.000 0.000 0.145 0.145 element.py:2(<module>)
3 0.000 0.000 0.000 0.000 element.py:30(_alias)
1 0.000 0.000 0.000 0.000 element.py:42(NamespacedAttribute)
1 0.000 0.000 0.000 0.000 element.py:57(AttributeValueWithCharsetSubstitution)
1 0.000 0.000 0.000 0.000 element.py:60(CharsetMetaAttributeValue)
1 0.000 0.000 0.000 0.000 element.py:699(NavigableString)
1 0.000 0.000 0.000 0.000 element.py:756(PreformattedString)
1 0.000 0.000 0.000 0.000 element.py:76(ContentMetaAttributeValue)
1 0.000 0.000 0.000 0.000 element.py:769(CData)
1 0.000 0.000 0.000 0.000 element.py:774(ProcessingInstruction)
1 0.000 0.000 0.000 0.000 element.py:780(XMLProcessingInstruction)
1 0.000 0.000 0.000 0.000 element.py:785(Comment)
1 0.000 0.000 0.000 0.000 element.py:791(Declaration)
1 0.000 0.000 0.000 0.000 element.py:796(Doctype)
1 0.000 0.000 0.000 0.000 element.py:814(Tag)
1 0.000 0.000 0.000 0.000 encoder.py:104(__init__)
1 0.000 0.000 0.001 0.001 encoder.py:2(<module>)
1 0.000 0.000 0.000 0.000 encoder.py:73(JSONEncoder)
1 0.000 0.000 0.001 0.001 encoders.py:5(<module>)
1 0.001 0.001 0.001 0.001 entities.py:1(<module>)
15 0.000 0.000 0.000 0.000 enum.py:125(__prepare__)
15 0.002 0.000 0.006 0.000 enum.py:135(__new__)
15 0.000 0.000 0.000 0.000 enum.py:152(<dictcomp>)
15 0.001 0.000 0.001 0.000 enum.py:177(<setcomp>)
169 0.000 0.000 0.000 0.000 enum.py:18(_is_descriptor)
47 0.000 0.000 0.000 0.000 enum.py:198(<genexpr>)
206 0.000 0.000 0.000 0.000 enum.py:26(_is_dunder)
421 0.001 0.000 0.006 0.000 enum.py:284(__call__)
15 0.000 0.000 0.000 0.000 enum.py:335(__getattr__)
206 0.000 0.000 0.000 0.000 enum.py:34(_is_sunder)
15 0.000 0.000 0.000 0.000 enum.py:360(__members__)
273 0.001 0.000 0.001 0.000 enum.py:376(__setattr__)
12 0.000 0.000 0.005 0.000 enum.py:389(_create_)
1 0.000 0.000 0.000 0.000 enum.py:42(_make_class_unpicklable)
error.py:73(ContentTooShortError)
1 0.000 0.000 0.000 0.000 error.py:9(TweepError)
1 0.000 0.000 0.000 0.000 errors.py:104(ObsoleteHeaderDefect)
1 0.000 0.000 0.000 0.000 errors.py:107(NonASCIILocalPartDefect)
1 0.000 0.000 0.000 0.000 errors.py:12(MessageParseError)
1 0.000 0.000 0.000 0.000 errors.py:121(TokenExpiredError)
1 0.000 0.000 0.000 0.000 errors.py:125(InsecureTransportError)
1 0.000 0.000 0.000 0.000 errors.py:130(MismatchingStateError)
1 0.000 0.000 0.000 0.000 errors.py:135(MissingCodeError)
1 0.000 0.000 0.000 0.000 errors.py:139(MissingTokenError)
1 0.000 0.000 0.000 0.000 errors.py:14(OAuth1Error)
1 0.000 0.000 0.000 0.000 errors.py:143(MissingTokenTypeError)
1 0.000 0.000 0.000 0.000 errors.py:147(FatalClientError)
1 0.000 0.000 0.000 0.000 errors.py:16(HeaderParseError)
1 0.000 0.000 0.000 0.000 errors.py:16(OAuth2Error)
1 0.000 0.000 0.000 0.000 errors.py:162(InvalidRequestFatalError)
1 0.000 0.000 0.000 0.000 errors.py:171(InvalidRedirectURIError)
1 0.000 0.000 0.000 0.000 errors.py:175(MissingRedirectURIError)
1 0.000 0.000 0.000 0.000 errors.py:179(MismatchingRedirectURIError)
1 0.000 0.000 0.000 0.000 errors.py:183(InvalidClientIdError)
1 0.000 0.000 0.000 0.000 errors.py:187(MissingClientIdError)
1 0.000 0.000 0.000 0.000 errors.py:191(InvalidRequestError)
1 0.000 0.000 0.000 0.000 errors.py:20(BoundaryError)
1 0.000 0.000 0.000 0.000 errors.py:200(MissingResponseTypeError)
1 0.000 0.000 0.000 0.000 errors.py:204(MissingCodeChallengeError)
1 0.000 0.000 0.000 0.000 errors.py:216(MissingCodeVerifierError)
1 0.000 0.000 0.000 0.000 errors.py:224(AccessDeniedError)
1 0.000 0.000 0.000 0.000 errors.py:231(UnsupportedResponseTypeError)
1 0.000 0.000 0.000 0.000 errors.py:239(UnsupportedCodeChallengeMethodError)
1 0.000 0.000 0.000 0.000 errors.py:24(MultipartConversionError)
1 0.000 0.000 0.000 0.000 errors.py:251(InvalidScopeError)
1 0.000 0.000 0.000 0.000 errors.py:261(ServerError)
1 0.000 0.000 0.000 0.000 errors.py:271(TemporarilyUnavailableError)
1 0.000 0.000 0.000 0.000 errors.py:28(CharsetError)
1 0.000 0.000 0.000 0.000 errors.py:281(InvalidClientError)
1 0.000 0.000 0.000 0.000 errors.py:297(InvalidGrantError)
1 0.000 0.000 0.000 0.000 errors.py:310(UnauthorizedClientError)
1 0.000 0.000 0.000 0.000 errors.py:318(UnsupportedGrantTypeError)
1 0.000 0.000 0.000 0.000 errors.py:326(UnsupportedTokenTypeError)
1 0.000 0.000 0.000 0.000 errors.py:33(MessageDefect)
1 0.000 0.000 0.000 0.000 errors.py:335(InvalidTokenError)
1 0.000 0.000 0.000 0.000 errors.py:349(InsufficientScopeError)
1 0.000 0.000 0.000 0.000 errors.py:363(ConsentRequired)
1 0.000 0.000 0.000 0.000 errors.py:374(LoginRequired)
1 0.000 0.000 0.000 0.000 errors.py:385(CustomOAuth2Error)
1 0.000 0.000 0.000 0.000 errors.py:41(NoBoundaryInMultipartDefect)
1 0.000 0.000 0.000 0.000 errors.py:44(StartBoundaryNotFoundDefect)
1 0.000 0.000 0.000 0.000 errors.py:47(CloseBoundaryNotFoundDefect)
1 0.000 0.000 0.000 0.000 errors.py:5(<module>)
1 0.000 0.000 0.000 0.000 errors.py:50(FirstHeaderLineIsContinuationDefect)
1 0.000 0.000 0.000 0.000 errors.py:53(MisplacedEnvelopeHeaderDefect)
1 0.000 0.000 0.000 0.000 errors.py:56(MissingHeaderBodySeparatorDefect)
1 0.000 0.000 0.000 0.000 errors.py:61(MultipartInvariantViolationDefect)
1 0.000 0.000 0.000 0.000 errors.py:64(InvalidMultipartContentTransferEncodingDefect)
1 0.000 0.000 0.000 0.000 errors.py:65(InsecureTransportError)
1 0.000 0.000 0.000 0.000 errors.py:67(UndecodableBytesDefect)
1 0.000 0.000 0.000 0.000 errors.py:70(InvalidBase64PaddingDefect)
1 0.000 0.000 0.000 0.000 errors.py:70(InvalidSignatureMethodError)
1 0.000 0.000 0.000 0.000 errors.py:73(InvalidBase64CharactersDefect)
1 0.000 0.000 0.000 0.000 errors.py:74(InvalidRequestError)
1 0.000 0.000 0.000 0.000 errors.py:76(InvalidBase64LengthDefect)
1 0.000 0.000 0.000 0.000 errors.py:78(InvalidClientError)
2 0.000 0.000 0.001 0.000 errors.py:8(<module>)
1 0.000 0.000 0.000 0.000 errors.py:8(MessageError)
1 0.000 0.000 0.000 0.000 errors.py:81(HeaderDefect)
1 0.000 0.000 0.000 0.000 errors.py:87(InvalidHeaderDefect)
1 0.000 0.000 0.000 0.000 errors.py:90(HeaderMissingRequiredValue)
1 0.000 0.000 0.000 0.000 errors.py:93(NonPrintableDefect)
1 0.000 0.000 0.001 0.001 escprober.py:28(<module>)
1 0.000 0.000 0.000 0.000 escprober.py:35(EscCharSetProber)
1 0.000 0.000 0.000 0.000 escsm.py:28(<module>)
1 0.000 0.000 0.000 0.000 eucjpprober.py:28(<module>)
1 0.000 0.000 0.000 0.000 eucjpprober.py:36(EUCJPProber)
1 0.000 0.000 0.000 0.000 euckrfreq.py:41(<module>)
1 0.000 0.000 0.000 0.000 euckrprober.py:28(<module>)
1 0.000 0.000 0.000 0.000 euckrprober.py:34(EUCKRProber)
1 0.000 0.000 0.000 0.000 euctwfreq.py:44(<module>)
1 0.000 0.000 0.000 0.000 euctwprober.py:28(<module>)
1 0.000 0.000 0.000 0.000 euctwprober.py:33(EUCTWProber)
1 0.000 0.000 0.032 0.032 exceptions.py:1(<module>)
1 0.000 0.000 0.000 0.000 exceptions.py:100(StreamConsumedError)
1 0.000 0.000 0.000 0.000 exceptions.py:104(RetryError)
1 0.000 0.000 0.000 0.000 exceptions.py:108(ReadTimeoutError)
1 0.000 0.000 0.000 0.000 exceptions.py:108(UnrewindableBodyError)
1 0.000 0.000 0.000 0.000 exceptions.py:114(RequestsWarning)
1 0.000 0.000 0.000 0.000 exceptions.py:115(ConnectTimeoutError)
1 0.000 0.000 0.000 0.000 exceptions.py:119(FileModeWarning)
1 0.000 0.000 0.000 0.000 exceptions.py:12(RequestException)
1 0.000 0.000 0.000 0.000 exceptions.py:120(NewConnectionError)
1 0.000 0.000 0.000 0.000 exceptions.py:124(RequestsDependencyWarning)
1 0.000 0.000 0.000 0.000 exceptions.py:125(EmptyPoolError)
1 0.000 0.000 0.000 0.000 exceptions.py:13(HTTPWarning)
1 0.000 0.000 0.000 0.000 exceptions.py:130(ClosedPoolError)
1 0.000 0.000 0.000 0.000 exceptions.py:135(LocationValueError)
1 0.000 0.000 0.000 0.000 exceptions.py:140(LocationParseError)
1 0.000 0.000 0.000 0.000 exceptions.py:150(ResponseError)
1 0.000 0.000 0.000 0.000 exceptions.py:156(SecurityWarning)
1 0.000 0.000 0.000 0.000 exceptions.py:161(SubjectAltNameWarning)
1 0.000 0.000 0.000 0.000 exceptions.py:166(InsecureRequestWarning)
1 0.000 0.000 0.000 0.000 exceptions.py:171(SystemTimeWarning)
1 0.000 0.000 0.000 0.000 exceptions.py:176(InsecurePlatformWarning)
1 0.000 0.000 0.000 0.000 exceptions.py:18(PoolError)
1 0.000 0.000 0.000 0.000 exceptions.py:181(SNIMissingWarning)
1 0.000 0.000 0.000 0.000 exceptions.py:186(DependencyWarning)
1 0.000 0.000 0.000 0.000 exceptions.py:194(ResponseNotChunked)
1 0.000 0.000 0.000 0.000 exceptions.py:199(BodyNotHttplibCompatible)
1 0.000 0.000 0.000 0.000 exceptions.py:207(IncompleteRead)
1 0.000 0.000 0.000 0.000 exceptions.py:223(InvalidHeader)
1 0.000 0.000 0.000 0.000 exceptions.py:228(ProxySchemeUnknown)
1 0.000 0.000 0.000 0.000 exceptions.py:237(HeaderParsingError)
1 0.000 0.000 0.000 0.000 exceptions.py:244(UnrewindableBodyError)
1 0.000 0.000 0.000 0.000 exceptions.py:28(HTTPError)
1 0.000 0.000 0.000 0.000 exceptions.py:29(RequestError)
1 0.000 0.000 0.000 0.000 exceptions.py:32(ConnectionError)
1 0.000 0.000 0.000 0.000 exceptions.py:36(ProxyError)
2 0.000 0.000 0.000 0.000 exceptions.py:40(SSLError)
1 0.000 0.000 0.000 0.000 exceptions.py:44(Timeout)
1 0.000 0.000 0.000 0.000 exceptions.py:45(ProxyError)
1 0.000 0.000 0.000 0.000 exceptions.py:50(DecodeError)
1 0.000 0.000 0.000 0.000 exceptions.py:53(ConnectTimeout)
1 0.000 0.000 0.000 0.000 exceptions.py:55(ProtocolError)
1 0.000 0.000 0.000 0.000 exceptions.py:60(ReadTimeout)
1 0.000 0.000 0.000 0.000 exceptions.py:64(URLRequired)
1 0.000 0.000 0.000 0.000 exceptions.py:66(MaxRetryError)
1 0.000 0.000 0.000 0.000 exceptions.py:68(TooManyRedirects)
1 0.000 0.000 0.000 0.000 exceptions.py:72(MissingSchema)
1 0.000 0.000 0.000 0.000 exceptions.py:76(InvalidSchema)
1 0.000 0.000 0.001 0.001 exceptions.py:8(<module>)
1 0.000 0.000 0.000 0.000 exceptions.py:8(HTTPError)
1 0.000 0.000 0.000 0.000 exceptions.py:80(InvalidURL)
1 0.000 0.000 0.000 0.000 exceptions.py:84(InvalidHeader)
1 0.000 0.000 0.000 0.000 exceptions.py:85(HostChangedError)
1 0.000 0.000 0.000 0.000 exceptions.py:88(InvalidProxyURL)
1 0.000 0.000 0.000 0.000 exceptions.py:92(ChunkedEncodingError)
1 0.000 0.000 0.000 0.000 exceptions.py:94(TimeoutStateError)
1 0.000 0.000 0.000 0.000 exceptions.py:96(ContentDecodingError)
1 0.000 0.000 0.000 0.000 exceptions.py:99(TimeoutError)
15 0.000 0.000 0.003 0.000 feedparser.py:101(push)
30 0.000 0.000 0.000 0.000 feedparser.py:122(pushlines)
30 0.000 0.000 0.000 0.000 feedparser.py:125(__iter__)
378 0.001 0.000 0.005 0.000 feedparser.py:128(__next__)
1 0.000 0.000 0.000 0.000 feedparser.py:136(FeedParser)
15 0.001 0.000 0.002 0.000 feedparser.py:139(__init__)
15 0.000 0.000 0.033 0.002 feedparser.py:173(feed)
30 0.000 0.000 0.030 0.001 feedparser.py:178(_call_parse)
15 0.000 0.000 0.006 0.000 feedparser.py:184(close)
15 0.000 0.000 0.000 0.000 feedparser.py:197(_new_message)
1 0.000 0.000 0.005 0.005 feedparser.py:20(<module>)
15 0.000 0.000 0.000 0.000 feedparser.py:210(_pop_message)
30 0.003 0.000 0.030 0.001 feedparser.py:218(_parsegen)
1 0.000 0.000 0.000 0.000 feedparser.py:45(BufferedSubFile)
15 0.005 0.000 0.014 0.001 feedparser.py:471(_parse_headers)
15 0.000 0.000 0.000 0.000 feedparser.py:53(__init__)
1 0.000 0.000 0.000 0.000 feedparser.py:532(BytesFeedParser)
Я уже пытался отозвать свой токен, но пока не могу запустить свой сценарий.