Как получить c контент с веб-страницы, используя curl в php? - PullRequest
0 голосов
/ 26 апреля 2020

Я хочу получить имена авторов и соавторов самой последней публикации на странице автора в Google. Для этого я пытаюсь использовать curl с php. Но так как у div нет точного идентификатора c для этого, а также есть аналогичное имя_класса для нескольких div, я не могу отследить данные с помощью веб-проверки. Пока я пробовал это:

<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://scholar.google.com/citations?hl=en&user=mG4imMEAAAAJ&view_op=list_works&sortby=pubdate");
curl_setopt($ch, CURLOPT_HEADER, 0);

$data = curl_exec($ch);
curl_close($ch);
?>

// To Do:
// from $data variable need to get the author's name.
// <div class="gs_gray">R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz,...</div>

1 Ответ

0 голосов
/ 26 апреля 2020

вы можете анализировать html с помощью DOMDocument и DOMXPath, вы можете перебирать статьи с помощью XPath

//*[@id="gsc_a_b"]/tr

и, получив статью, вы можете получить авторов с помощью XPath

.//div[@class="gs_gray"][1]

с использованием статьи в качестве ссылочного узла, поэтому

$content=file_get_contents('https://scholar.google.com/citations?hl=en&user=mG4imMEAAAAJ&view_op=list_works&sortby=pubdate');
$domd=@DOMDocument::loadHTML($content);
$xp=new DOMXPath($domd);
foreach($xp->query('//*[@id="gsc_a_b"]/tr') as $article){
//    var_dump($domd->saveHTML($article));
    foreach($xp->query('.//div[@class="gs_gray"][1]',$article) as $authors){
      var_dump($authors->textContent);

    }
}

выводит:

string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"
string(53) "Y Shen, M Voisin, A Aliamiri, A Avati, A Hannun, A Ng"
string(74) "J Irvin, P Rajpurkar, M Ko, Y Yu, S Ciurea-Ilcus, C Chute, H Marklund, ..."
string(70) "D Rolnick, PL Donti, LH Kaack, K Kochanski, A Lacoste, K Sankaran, ..."
string(73) "F Maksimovic, B Wheeler, DC Burnett, O Khan, S Mesri, I Suciu, L Lee, ..."
string(63) "A Park, C Chute, P Rajpurkar, J Lou, RL Ball, K Shpanskaya, ..."
string(48) "J Lee, Z Xie, C Wang, M Drach, D Jurafsky, AY Ng"
string(75) "R Pranav, A Park, J Irvin, C Chute, M Bereket, M Domenico, CP Langlotz, ..."
string(73) "MT Chiu, X Xu, K Wang, J Hobbs, N Hovakimyan, TS Huang, H Shi, Y Wei, ..."
string(56) "A Smit, S Jain, P Rajpurkar, A Pareek, AY Ng, MP Lungren"
string(69) "P Rajpurkar, A Park, J Irvin, C Chute, M Bereket, D Mastrodicasa, ..."
string(68) "P Rajpurkar, A Joshi, A Pareek, P Chen, A Kiani, J Irvin, AY Ng, ..."
string(69) "A Kiani, B Uyumazturk, P Rajpurkar, A Wang, R Gao, E Jones, Y Yu, ..."
string(40) "S Zhou, J Zhang, H Jiang, T Lundh, AY Ng"
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G Diamos, E Elsen, ..."
string(63) "A Hannun, C Case, J Casper, B Catanzaro, G DIAMOS, E Elsen, ..."
string(40) "G Yuan, S Yang, S Yang, A Ng, MJ Oursler"
string(77) "G McNicol, E Fluet-chouinard, Z Zhang, J Irvin, S Zhou, F Lu, A Kondrich, ..."
string(69) "B Uyumazturk, A Kiani, P Rajpurkar, A Wang, RL Ball, R Gao, Y Yu, ..."
string(52) "B Wheeler, A Ng, B Kilberg, F Maksimovic, KSJ Pister"
string(50) "T Duan, A Avati, DY Ding, S Basu, AY Ng, A Schuler"

(и в качестве примечания по оптимизации, если вы используете curl с CURLOPT_ENCODING, он будет быстрее, чем использование file_get_contents () - curl поддерживает gzip, file_get_contents () нет - также curl поддерживает чтение до «Content-Length» и прекращает чтение, в то время как file_get_contents () будет только читать, пока удаленный сервер не закроет сокет, что на некоторых веб-сайтах file_get_contents () значительно медленнее, чем curl. *

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...